Skip to content

Commit

Permalink
Move GH token expansion to step level
Browse files Browse the repository at this point in the history
  • Loading branch information
rpsu committed Apr 25, 2022
1 parent 82eeb7f commit 1ca09b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions label-sync/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Sync common labels (manually)
description: 'Common build setup for yarn projects'

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

runs:
using: 'composite'
Expand All @@ -15,3 +13,5 @@ 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 }}

0 comments on commit 1ca09b1

Please sign in to comment.