Skip to content

Commit

Permalink
ci: lock action versions to patch level
Browse files Browse the repository at this point in the history
  • Loading branch information
stigok committed Oct 31, 2023
1 parent bed21d1 commit 0789ce2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autodoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
ssh-private-key: "${{ secrets.SSH_KEY_AUTODOC }}"
-
name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v4.7.1
with:
python-version: 3.11
-
name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ on: [push, pull_request]
name: Commit lint and release
jobs:
lint_release:
uses: nrkno/github-workflow-semantic-release/.github/workflows/workflow.yaml@v2
uses: nrkno/github-workflow-semantic-release/.github/workflows/workflow.yaml@v2.1.0
with:
runs-on: ubuntu-latest
18 changes: 9 additions & 9 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ jobs:
terraform_token=$(jq -r .token <<<$token)
echo "terraform_token=$terraform_token" >> "$GITHUB_OUTPUT"
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.1

- uses: hashicorp/setup-terraform@v2
- uses: hashicorp/setup-terraform@v2.0.3
with:
terraform_version: ${{ inputs.terraform-version }}
terraform_wrapper: false
Expand Down Expand Up @@ -252,7 +252,7 @@ jobs:
rm -r -- "${GIT_CREDENTIALS_DIR}"
# workaround for https://github.com/hashicorp/terraform/issues/28490
- uses: actions/setup-go@v4
- uses: actions/setup-go@v4.1.0
with:
go-version: '1.16.15'

Expand Down Expand Up @@ -326,10 +326,10 @@ jobs:
if: inputs.trivy-job-enabled
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1

- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v4.7.1
with:
python-version: 3.11

Expand Down Expand Up @@ -426,7 +426,7 @@ jobs:
if: inputs.trivy-sbom-enabled
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
- name: Submit SBOM results to Dependency Snapshots
uses: aquasecurity/[email protected]
with:
Expand Down Expand Up @@ -454,11 +454,11 @@ jobs:
terraform_docs_token=$(jq -r .token <<<$token)
echo "terraform_docs_token=$terraform_docs_token" >> "$GITHUB_OUTPUT"
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
ref: "${{ github.head_ref }}"
token: ${{ steps.credentials.outputs.terraform_docs_token }}
- uses: actions/setup-python@v4
- uses: actions/setup-python@v4.7.1
- name: Get workflow ref
id: workflow_tag
shell: bash
Expand All @@ -481,7 +481,7 @@ jobs:
cat $GITHUB_OUTPUT
- name: Checkout workflow
id: checkout_workflow
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
repository: nrkno/github-workflow-terraform-config
ref: ${{ steps.workflow_tag.outputs.workflow_tag }}
Expand Down

0 comments on commit 0789ce2

Please sign in to comment.