diff --git a/.github/workflows/label-syncing.yml b/.github/workflows/label-syncing.yml index e2e130e..a040c88 100644 --- a/.github/workflows/label-syncing.yml +++ b/.github/workflows/label-syncing.yml @@ -13,3 +13,5 @@ jobs: - name: Run Labeler uses: Yleisradio/articleteam-gh-actions/label-sync@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/label-sync/action.yml b/label-sync/action.yml index 9da9d3e..a7465ae 100644 --- a/label-sync/action.yml +++ b/label-sync/action.yml @@ -13,5 +13,3 @@ runs: with: from: https://raw.githubusercontent.com/Yleisradio/articleteam-gh-actions/repo-label-sync-action/label-sync/labels.yml skip_delete: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}