refactor(tf): stop using aws for state managment, remove gh repo mana… #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Sync PR labels | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
paths: [".github/labels.yaml"] | |
jobs: | |
labels: | |
name: Sync PR Labels | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Generate Token | |
id: generate-token | |
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # v1.8.0 | |
with: | |
app_id: "${{ secrets.BOT_APP_ID }}" | |
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Sync Labels | |
uses: EndBug/label-sync@da00f2c11fdb78e4fae44adac2fdd713778ea3e8 # renovate: tag=v2.3.2 | |
with: | |
config-file: .github/labels.yaml | |
token: "${{ steps.generate-token.outputs.token }}" | |
delete-other-labels: true |