Skip to content

Commit

Permalink
Do not transmit the token
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Dec 9, 2023
1 parent 8b968c7 commit 8d7dee1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pull-request-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ on:
description: 'The pull request number to process.'
required: true
type: string
its_a_token:
description: 'The GitHub token to use for authentication.'
required: true
type: string
# its_a_token:
# description: 'The GitHub token to use for authentication.'
# required: true
# type: string

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
steps:
- uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
env:
GITHUB_TOKEN: ${{ inputs.its_a_token }}
# GITHUB_TOKEN: ${{ inputs.its_a_token }}
ACTIONS_STEP_DEBUG: true
with:
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build-processes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
ref: 'trunk',
inputs: {
pr_number: '${{ github.event.number }}',
its_a_token: '${{ secrets.GITHUB_TOKEN }}'
// its_a_token: '${{ secrets.GITHUB_TOKEN }}'
}
});
Expand Down

0 comments on commit 8d7dee1

Please sign in to comment.