Skip to content

Commit

Permalink
Fix github workflows authorization check (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
tohuynh committed Nov 11, 2021
1 parent c277084 commit 34d65ce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/get_next_uv_dates-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
- name: Authorization check
uses: octokit/request-action@v2.0.0
with:
route: GET /repos/:repository/collaborators/${{ github.actor }}
repository: ${{ github.repository }}
route: GET /repos/${{ github.repository }}/collaborators/${{ github.actor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
get_next_uv_dates:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/run-data-pipeline-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
- name: Authorization check
uses: octokit/request-action@v2.0.0
with:
route: GET /repos/:repository/collaborators/${{ github.actor }}
repository: ${{ github.repository }}
route: GET /repos/${{ github.repository }}/collaborators/${{ github.actor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run_sigla_pipeline:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/run-external-link-checker-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
- name: Authorization check
uses: octokit/request-action@v2.0.0
with:
route: GET /repos/:repository/collaborators/${{ github.actor }}
repository: ${{ github.repository }}
route: GET /repos/${{ github.repository }}/collaborators/${{ github.actor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
external_link_checker:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/run-qa-test-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
- name: Authorization check
uses: octokit/request-action@v2.0.0
with:
route: GET /repos/:repository/collaborators/${{ github.actor }}
repository: ${{ github.repository }}
route: GET /repos/${{ github.repository }}/collaborators/${{ github.actor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run_qa_test:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/run-subset-pipeline-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
- name: Authorization check
uses: octokit/request-action@v2.0.0
with:
route: GET /repos/:repository/collaborators/${{ github.actor }}
repository: ${{ github.repository }}
route: GET /repos/${{ github.repository }}/collaborators/${{ github.actor }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
load_spreadsheets:
Expand Down

0 comments on commit 34d65ce

Please sign in to comment.