Skip to content

Commit

Permalink
Merge branch 'main' into automations/buildpack.toml/update
Browse files Browse the repository at this point in the history
  • Loading branch information
janisar007 authored May 28, 2024
2 parents 3d22422 + b664f4e commit f81413d
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ jobs:
run: |
gh pr merge ${{ needs.download.outputs.pr-number }} --auto --rebase
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/create-draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ jobs:
issue_body: |
Create Draft Release workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
comment_body: |
Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
4 changes: 2 additions & 2 deletions .github/workflows/create-release-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
id: issue-to-proj
uses: initializ-buildpacks/github-config/actions/issue/add-to-project@main
with:
# initializ buildpacks project -https://github.com/orgs/initializ-buildpacks/projects/20
# Initializ buildpacks project -https://github.com/orgs/initializ-buildpacks/projects/20
project-org: initializ-buildpacks
project-num: 20
field-name: Workstream
option-name: Buildpack Releases
issue-node-id: ${{ steps.file-issue.outputs.node-id }}
token: ${{ secrets.PAT }}
token: ${{ secrets.PAT }}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
if: ${{ failure() }}
uses: initializ-buildpacks/github-config/actions/pull-request/auto-semver-label@main
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
GITHUB_TOKEN: ${{ secrets.PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/lint-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
run: pip install yamllint

- name: Lint YAML files
run: yamllint ./.github -c github-config/.github/.yamllint
run: yamllint ./.github -c github-config/.github/.yamllint
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout 3m0s
args: --timeout 3m0s
6 changes: 5 additions & 1 deletion .github/workflows/push-buildpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
types:
- published

permissions:
id-token: write # This is required for aws oidc connection
contents: read

jobs:
push:
name: Push
Expand Down Expand Up @@ -81,4 +85,4 @@ jobs:
issue_body: |
Push Buildpackage workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
comment_body: |
Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- uses: actions/checkout@v3
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}
2 changes: 1 addition & 1 deletion .github/workflows/test-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: event-payload
path: ${{ github.event_path }}
path: ${{ github.event_path }}
7 changes: 1 addition & 6 deletions .github/workflows/update-buildpack-toml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
- cron: '1 6 * * *' # daily at 06:01 UTC
workflow_dispatch: {}

permissions:
contents: write

concurrency: buildpack_update

jobs:
Expand All @@ -27,7 +24,6 @@ jobs:
- name: Update buildpack.toml
uses: initializ-buildpacks/github-config/actions/buildpack/update@main


- name: Commit
id: commit
uses: initializ-buildpacks/github-config/actions/pull-request/create-commit@main
Expand All @@ -36,7 +32,6 @@ jobs:
pathspec: "."
keyid: ${{ secrets.INITIALIZ_BOT_GPG_SIGNING_KEY_ID }}
key: ${{ secrets.INITIALIZ_BOT_GPG_SIGNING_KEY }}


- name: Push Branch
if: ${{ steps.commit.outputs.commit_sha != '' }}
Expand All @@ -48,7 +43,7 @@ jobs:
if: ${{ steps.commit.outputs.commit_sha != '' }}
uses: initializ-buildpacks/github-config/actions/pull-request/open@main
with:
token: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
token: ${{ secrets.PAT }}
title: "Updates buildpacks in buildpack.toml"
branch: automations/buildpack.toml/update

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/update-github-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ jobs:
with:
repository: initializ-buildpacks/github-config
path: github-config
token: ${{ secrets.PAT }}


- name: Checkout Branch
uses: initializ-buildpacks/github-config/actions/pull-request/checkout-branch@main
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Go Paketo Buildpack
# Go Initializ Buildpack

## `https://hub.docker.com/r/initializbuildpacks/go`

Expand Down
2 changes: 1 addition & 1 deletion scripts/.util/builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function util::builders::list() {

if [[ -z "${builders}" ]]; then
util::print::info "No builders specified. Falling back to default builder..."
builders="$(jq --compact-output --null-input '["index.docker.io/paketobuildpacks/builder-jammy-buildpackless-base:latest"]')"
builders="$(jq --compact-output --null-input '["index.docker.io/initializbuildpacks/securepacks-initzbuilder:latest"]')"
fi

echo "${builders}"
Expand Down

0 comments on commit f81413d

Please sign in to comment.