mirror of
https://github.com/dependabot/fetch-metadata.git
synced 2026-03-12 18:07:12 -04:00
Scope app token to only this repo for security (#501)
https://github.com/dependabot/fetch-metadata/pull/442 bumped to a new version of this action which now supports a `"repositories"` key that scopes the token to the designated repositories.
This commit is contained in:
1
.github/workflows/dependabot-auto-merge.yml
vendored
1
.github/workflows/dependabot-auto-merge.yml
vendored
@@ -13,6 +13,7 @@ jobs:
|
||||
with:
|
||||
app_id: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_APP_ID }}
|
||||
private_key: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_PRIVATE_KEY }}
|
||||
repositories: "dependabot/fetch-metadata"
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
1
.github/workflows/dependabot-build.yml
vendored
1
.github/workflows/dependabot-build.yml
vendored
@@ -37,6 +37,7 @@ jobs:
|
||||
with:
|
||||
app_id: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_APP_ID }}
|
||||
private_key: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_PRIVATE_KEY }}
|
||||
repositories: "dependabot/fetch-metadata"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
1
.github/workflows/release-bump-version.yml
vendored
1
.github/workflows/release-bump-version.yml
vendored
@@ -24,6 +24,7 @@ jobs:
|
||||
with:
|
||||
app_id: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_APP_ID }}
|
||||
private_key: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_PRIVATE_KEY }}
|
||||
repositories: "dependabot/fetch-metadata"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
@@ -34,6 +34,7 @@ jobs:
|
||||
with:
|
||||
app_id: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_APP_ID }}
|
||||
private_key: ${{ secrets.FETCH_METADATA_ACTION_AUTOMATION_PRIVATE_KEY }}
|
||||
repositories: "dependabot/fetch-metadata"
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user