Skip to content
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
1 change: 1 addition & 0 deletions .github/workflows/create-draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ jobs:
needs: [ integration, release ]
permissions:
contents: read
issues: write
if: ${{ always() && needs.integration.result == 'failure' || needs.release.result == 'failure' }}
steps:
- name: File Failure Alert Issue
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/push-buildpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
steps:

- name: Checkout
# zizmor: ignore[artipacked] -- persistent credentials required for push-branch
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Parse Event
id: event
Expand Down Expand Up @@ -152,6 +153,7 @@ jobs:
needs: [push]
permissions:
contents: read
issues: write
if: ${{ always() && needs.push.result == 'failure' }}
steps:
- name: File Failure Alert Issue
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update-buildpack-toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
persist-credentials: false

- name: Checkout Branch
uses: paketo-buildpacks/github-config/actions/pull-request/checkout-branch@main
with:
branch: automation/buildpack.toml/update
token: ${{ secrets.GITHUB_TOKEN }}

- name: Update buildpack.toml
id: update
Expand All @@ -49,6 +49,7 @@ jobs:
uses: paketo-buildpacks/github-config/actions/pull-request/push-branch@main
with:
branch: automation/buildpack.toml/update
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}

- name: Open Pull Request (no semver label)
if: ${{ steps.commit.outputs.commit_sha != '' && steps.update.outputs.semver_bump == '' }}
Expand All @@ -73,6 +74,7 @@ jobs:
needs: [update-buildpack-toml]
permissions:
contents: read
issues: write
if: ${{ always() && needs.update-buildpack-toml.result == 'failure' }}
steps:
- name: File Failure Alert Issue
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update-github-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
persist-credentials: false

- name: Checkout github-config
Expand All @@ -37,6 +36,7 @@ jobs:
uses: paketo-buildpacks/github-config/actions/pull-request/checkout-branch@main
with:
branch: automation/github-config/update
token: ${{ secrets.GITHUB_TOKEN }}

- name: Run the sync action
uses: paketo-buildpacks/github-config/actions/sync@main
Expand All @@ -61,6 +61,7 @@ jobs:
uses: paketo-buildpacks/github-config/actions/pull-request/push-branch@main
with:
branch: automation/github-config/update
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}

- name: Open Pull Request
if: ${{ steps.commit.outputs.commit_sha != '' }}
Expand All @@ -77,6 +78,7 @@ jobs:
if: ${{ always() && needs.build.result == 'failure' }}
permissions:
contents: read
issues: write
steps:
- name: File Failure Alert Issue
uses: paketo-buildpacks/github-config/actions/issue/file@main
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update-go-mod-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
- name: Check out code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
persist-credentials: false
- name: Checkout PR Branch
uses: paketo-buildpacks/github-config/actions/pull-request/checkout-branch@main
with:
branch: automation/go-mod-update/update-main
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Go
id: setup-go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
Expand Down Expand Up @@ -75,6 +75,7 @@ jobs:
uses: paketo-buildpacks/github-config/actions/pull-request/push-branch@main
with:
branch: automation/go-mod-update/update-main
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}

- name: Open Pull Request
if: ${{ steps.commit.outputs.commit_sha != '' }}
Expand All @@ -90,6 +91,7 @@ jobs:
needs: [update-go]
permissions:
contents: read
issues: write
if: ${{ always() && needs.update-go.result == 'failure' }}
steps:
- name: File Failure Alert Issue
Expand Down
Loading