Workflows use checkout step for label apply - Checkout might be needed/useful, otherwise config files are not present - Do not remove labels from PR updates anymore. Has to be done manually. Otherwise manual labelling really isn't possible.

eaa7b91f1d7719e53e3e83194f887e63eb8b5544

Wolfsblvt <wolfsblvt@gmail.com>

2 files changed, +15 -2Ignore whitespace
.github/workflows/issues-auto-manager.yml+5 -0
@@ -13,6 +13,11 @@ jobs:
1313 runs-on: ubuntu-latest
1414
1515 steps:
16+ - name: Checkout Repository
17+ # Checkout
18+ # https://github.com/marketplace/actions/checkout
19+ uses: actions/checkout@v4
20+
1621 - name: Auto-Label Issues (Based on Issue Content)
1722 # only auto label based on issue content once, on open (to prevent re-labeling removed labels)
1823 if: github.event.action == 'opened'
.github/workflows/pr-auto-manager.yml+10 -2
@@ -40,13 +40,17 @@ jobs:
4040 if: github.event.action == 'opened' || (github.event.action == 'synchronize' && (github.event.changes.base || github.event.changes.head))
4141
4242 steps:
43+ - name: Checkout Repository
44+ # Checkout
45+ # https://github.com/marketplace/actions/checkout
46+ uses: actions/checkout@v4
47+
4348 - name: Apply Labels Based on Branch Name and Target Branch
4449 # Pull Request Labeler
4550 # https://github.com/marketplace/actions/labeler
4651 uses: actions/labeler@v5
4752 with:
4853 configuration-path: .github/pr-auto-labels-by-branch.yml
49- sync-labels: true # Remove labels when they are not relevant anymore
5054 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
5155
5256 label-by-files:
@@ -54,13 +58,17 @@ jobs:
5458 runs-on: ubuntu-latest
5559
5660 steps:
61+ - name: Checkout Repository
62+ # Checkout
63+ # https://github.com/marketplace/actions/checkout
64+ uses: actions/checkout@v4
65+
5766 - name: Apply Labels Based on Changed Files
5867 # Pull Request Labeler
5968 # https://github.com/marketplace/actions/labeler
6069 uses: actions/labeler@v5
6170 with:
6271 configuration-path: .github/pr-auto-labels-by-files.yml
63- sync-labels: true # Remove labels when they are not relevant anymore
6472 repo-token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
6573
6674 remove-stale-label: