Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Do not persist credentials after checkout #45

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/sync-common-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
- uses: actions/checkout@v4
with:
path: workflows
persist-credentials: false

- name: Sync Workflows
run: |
git config --global user.email "[email protected]"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: shaka-project/shaka-github-tools
persist-credentials: false

# TODO: revert to micnncim and new release after landing
# https://github.com/micnncim/action-label-syncer/pull/68
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-update-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.ref }}
persist-credentials: false

- name: Test
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: shaka-project/shaka-github-tools
persist-credentials: false

- name: Update Issues
env:
Expand Down
1 change: 1 addition & 0 deletions compute-sha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ needs.compute-sha.outputs.SHA }}
persist-credentials: false

# ...
```
1 change: 1 addition & 0 deletions sync-labels/sync-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: shaka-project/shaka-github-tools
persist-credentials: false

# TODO: revert to micnncim and new release after landing
# https://github.com/micnncim/action-label-syncer/pull/68
Expand Down
1 change: 1 addition & 0 deletions update-issues/update-issues.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: shaka-project/shaka-github-tools
persist-credentials: false

- name: Update Issues
env:
Expand Down
Loading