Skip to content

Commit

Permalink
chore(workflows/dependencies): pin dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jun 19, 2024
1 parent f74ba39 commit f8d76d6
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
name: lint github workflows
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Add problem matchers
run: |
# https://github.com/rhysd/actionlint/blob/3a2f2c7/docs/usage.md#problem-matchers
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-assign-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
auto-assign:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]
- uses: kentaro-m/auto-assign-action@f4648c0a9fdb753479e9e75fc251f507ce17bb7e # v2.0.0
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
fetch-depth: 0

- name: Conventional commits check
uses: oknozor/cocogitto-action@v3
uses: oknozor/cocogitto-action@5ae166018d8265bb2df85c1eb521e86a17b61085 # v3
4 changes: 2 additions & 2 deletions .github/workflows/create-release-prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
createReleasePR:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4
with:
skip-github-release: true
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
config-file: .github/release-please/config.json
manifest-file: .github/release-please/manifest.json
id: release-please
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
if: ${{ steps.release-please.outputs.prs_created == 'true' }}
- name: Set PRs to auto-merge
if: ${{ steps.release-please.outputs.prs_created == 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/get-changed-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
outputs:
chart: ${{ steps.getChangedChart.outputs.chart }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- uses: helm/[email protected]
- uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1

- id: getChangedChart
name: Get changed chart in this commit
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/get-changed-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
outputs:
charts: ${{ steps.getCharts.outputs.charts }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- uses: helm/[email protected]
- uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1

- name: Get all charts
id: getCharts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
CT_TARGET_BRANCH: ${{ github.event.pull_request.base.ref || github.event.repository.default_branch }}
CHART: ${{ matrix.chart }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0

Expand All @@ -38,12 +38,12 @@ jobs:
echo
) | tee -a "$GITHUB_OUTPUT"
- uses: actions/setup-python@v5
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: 3.7

- run: ./.github/scripts/prepare-values.sh "charts/$CHART"
- uses: helm/[email protected]
- uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1

- name: Lint chart
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-comment-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
CT_TARGET_BRANCH: ${{ github.event.pull_request.base.ref || github.event.repository.default_branch }}
GITHUB_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- run: pip install yq
- name: Install sponge
run: sudo apt-get -yq install moreutils
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
releases_created: ${{ steps.release.outputs.releases_created }}
paths_released: ${{ steps.release.outputs.paths_released }}
steps:
- uses: googleapis/release-please-action@v4
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4
id: release
with:
skip-github-pull-request: true
Expand All @@ -32,7 +32,7 @@ jobs:
env:
CHART: ${{ matrix.chart }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- run: helm package --dependency-update "${CHART}"
- run: helm registry login ghcr.io --username teutonet-bot --password ${{ secrets.ACTIONS_BOT_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-update-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
CT_TARGET_BRANCH: ${{ github.event.pull_request.base.ref || github.event.repository.default_branch }}
CHART: ${{ needs.getChangedChart.outputs.chart }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
Expand All @@ -34,7 +34,7 @@ jobs:
- run: ./.github/scripts/enforce-trusted-registries.sh "charts/$CHART"

- name: Commit artifacthub images
uses: EndBug/add-and-commit@v9
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9
with:
message: "ci: [bot] Update images in 'Chart.yaml'"
default_author: github_actions
Expand All @@ -51,12 +51,12 @@ jobs:
fi
generate-schema-doc --config-file .github/json-schema-to-md.yaml "charts/$CHART/values.schema.json" "charts/$CHART/values.md"
- name: generate Docs
uses: docker://jnorwood/helm-docs:latest
uses: docker://jnorwood/helm-docs:latest@sha256:717bd8f770bd1d25ccf79c876f1420e105832f2d6bbde12170405f58f540cb2d
with:
args: -g charts/${{ needs.getChangedChart.outputs.chart }}

- name: Commit README
uses: EndBug/add-and-commit@v9
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9
with:
message: "ci: [bot] Update 'README.md'"
default_author: github_actions
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-artifacthub-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
outputs:
charts: ${{ steps.getCharts.outputs.charts }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: Get all charts
id: getCharts
Expand All @@ -34,7 +34,7 @@ jobs:
matrix:
chart: ${{ fromJson(needs.getAllCharts.outputs.charts) }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}

Expand All @@ -48,7 +48,7 @@ jobs:
- run: ./.github/scripts/enforce-trusted-registries.sh "charts/${{ matrix.chart }}"

- id: create-pr
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
with:
add-paths: |
charts/${{ matrix.chart }}/Chart.yaml
Expand All @@ -64,7 +64,7 @@ jobs:
PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
merge-method: squash
- if: ${{ steps.create-pr.outputs.pull-request-number }}
uses: juliangruber/[email protected]
uses: juliangruber/approve-pull-request-action@b71c44ff142895ba07fad34389f1938a4e8ee7b0 # v2.0.6
with:
github-token: ${{ secrets.ACTIONS_BOT_TOKEN }}
number: ${{ steps.create-pr.outputs.pull-request-number }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-codeowners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
generateCodeowners:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: generate CODEOWNERS
run: ./.github/scripts/sync-codeowners.sh > .github/CODEOWNERS

- name: Create PR
id: create-pr
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
with:
add-paths: |
.github/CODEOWNERS
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate-pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ jobs:
name: Validate commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Conventional commit check
uses: cocogitto/cocogitto-action@v3
uses: cocogitto/cocogitto-action@5ae166018d8265bb2df85c1eb521e86a17b61085 # v3
validateAndLabelPR:
if: ${{ !startsWith(github.head_ref, 'release-please--') }}
name: Validate and label PR
runs-on: ubuntu-latest
needs: getChangedChart
steps:
- name: Conventional commit check
uses: cocogitto/cocogitto-action@v3
uses: cocogitto/cocogitto-action@5ae166018d8265bb2df85c1eb521e86a17b61085 # v3
with:
check: false
- run: |
Expand Down

0 comments on commit f8d76d6

Please sign in to comment.