Skip to content
Open
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
13 changes: 8 additions & 5 deletions .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Set / Validate PR Labels
on:
pull_request_target:
pull_request:
branches:
- main
types:
Expand All @@ -22,8 +22,9 @@ jobs:
name: Ensure Minimal Semver Labels
runs-on: ubuntu-24.04
permissions:
issues: read # read the issue's current labels
pull-requests: read # read the pull request's metadata
contents: read # check out the repository to determine which files changed
issues: write # add the semver label
pull-requests: write # update the pull request's labels
steps:
- name: Check Minimal Semver Labels
uses: mheap/github-action-required-labels@23e10fde7e062233401931a0eece796cd9bf3177 # v5.6.0
Expand All @@ -35,7 +36,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Auto-label Semver
if: ${{ failure() }}
# Pull requests from forks receive a read-only token, so they cannot be
# auto-labeled. A maintainer must add the label to those pull requests.
if: ${{ failure() && github.event.pull_request.head.repo.full_name == github.repository }}
uses: paketo-buildpacks/github-config/actions/pull-request/auto-semver-label@main
env:
GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/push-buildpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
echo "push_to_gcr=${push_to_gcr}" >> "$GITHUB_OUTPUT"

- name: Install yj and crane
uses: buildpacks/github-actions/setup-tools@af8c06ccd592e27001cbf78083dcc9b47aa6652a # v6.1.1
uses: buildpacks/github-actions/setup-tools@50b58314ff7858c48496a3fee25308c8a18eae79 # v6.2.3

- name: Validate version
env:
Expand All @@ -87,14 +87,14 @@ jobs:
fi

- name: Docker login docker.io
uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ env.DOCKERHUB_PASSWORD }}
registry: ${{ env.DOCKERHUB_REGISTRY }}

- name: Docker login gcr.io
uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
if: ${{ steps.parse_configs.outputs.push_to_gcr == 'true' }}
with:
username: ${{ env.GCR_USERNAME }}
Expand Down
6 changes: 3 additions & 3 deletions scripts/.util/tools.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"createpackage": "v1.73.0",
"jam": "v2.18.0",
"libpaktools": "v0.6.0",
"pack": "v0.40.9",
"jam": "v2.19.1",
"libpaktools": "v0.8.0",
"pack": "v0.40.10",
"yj": "v5.1.0"
}
Loading