Skip to content

Commit

Permalink
Remove the secrets context in action.yaml as not supported
Browse files Browse the repository at this point in the history
Remove the secrets context in the action.yaml configuration as it's not
supported here - they should be passed in via inputs instead.
  • Loading branch information
jonathanio committed May 23, 2023
1 parent f74427e commit 81b58bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
- name: Fetch the pull-requester artifact
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.github_token || github.token }}
GITHUB_TOKEN: ${{ github.token }}
# Both github.action_repository and .action_ref are not available inside
# the run: statement, but they are available under env: so set them here
# so they can be accessed as normal environment variable under the
Expand All @@ -27,7 +27,7 @@ runs:
- name: Run pull-requester against the pull request
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.github_token || github.token }}
GITHUB_TOKEN: ${{ github.token }}
run: |-
${{ github.action_path }}/bin/pull-requester run
Expand Down

0 comments on commit 81b58bd

Please sign in to comment.