Skip to content

Commit

Permalink
new token new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
JoschD committed Sep 10, 2024
1 parent 556d53a commit 63756da
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/assign_labels_to_all_repos.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Assign labels from json definition to all repos
# This uses https://github.com/Financial-Times/github-label-sync

# https://github.com/orgs/community/discussions/46566
# The GITHUB_TOKEN only grants access to the current directory.
# Check https://github.com/orgs/community/discussions/46566
# if they have added a feature to allow access to all organization repositories.
# Until then we use the ISSUE_WRITE_TOKEN which was generated by pylhctokens,
# but is only valid for a limited amount of time (1 year).

name: Assign labels to all repos

Expand Down Expand Up @@ -30,6 +34,7 @@ jobs:
working-directory: ./labels # labels.json is default filename for github-label-sync
env:
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACCESS_TOKEN: ${{ secrets.JOSCHD_ISSUE_TOKEN }}
GITHUB_ACCESS_TOKEN: ${{ secrets.ISSUE_WRITE_TOKEN }}
run: |
github-label-sync pylhc/optics_functions
github-label-sync pylhc/irnl_rdt_correction

0 comments on commit 63756da

Please sign in to comment.