We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 504fef1 commit 7314e3cCopy full SHA for 7314e3c
1 file changed
.github/workflows/sync-dashboard-team.yaml
@@ -29,8 +29,10 @@ permissions:
29
jobs:
30
# Add validation checks for Pull Requests
31
validate:
32
- if: github.event_name == 'pull_request' && secrets.ORG_ADMIN_TOKEN != ''
+ if: github.event_name == 'pull_request'
33
runs-on: ubuntu-latest
34
+ env:
35
+ ORG_ADMIN_TOKEN: ${{ secrets.ORG_ADMIN_TOKEN }}
36
37
permissions:
38
contents: read
@@ -51,11 +53,12 @@ jobs:
51
53
run: npm ci
52
54
55
- name: Dry run
56
+ if: env.ORG_ADMIN_TOKEN != ''
57
working-directory: .github/scripts
58
run: node sync-dashboard-team.js
59
env:
60
DRY_RUN: true
- GITHUB_TOKEN: ${{ secrets.ORG_ADMIN_TOKEN }}
61
+ GITHUB_TOKEN: ${{ env.ORG_ADMIN_TOKEN }}
62
ORG: kernelci
63
TEAM_SLUG: dashboard
64
0 commit comments