diff --git a/.github/actions/aws-auth/README.md b/.github/actions/aws-auth/README.md index f4d6f9e..b4edea4 100644 --- a/.github/actions/aws-auth/README.md +++ b/.github/actions/aws-auth/README.md @@ -19,7 +19,7 @@ N/A #### Usage ```yaml - name: AWS Authentication - uses: dvsa/.github/.github/actions/aws-auth@v6 + uses: dvsa/.github/.github/actions/aws-auth@v7 with: aws_role: dvsa-infra-github aws_region: eu-west-1 diff --git a/.github/actions/aws-cli/README.md b/.github/actions/aws-cli/README.md index 4eab256..c8dcabb 100644 --- a/.github/actions/aws-cli/README.md +++ b/.github/actions/aws-cli/README.md @@ -16,7 +16,7 @@ N/A #### Usage ```yaml - name: List S3 Buckets - uses: dvsa/.github/.github/actions/aws-cli@v6 + uses: dvsa/.github/.github/actions/aws-cli@v7 with: command: "s3 ls" ``` diff --git a/.github/actions/aws-waf-access/README.md b/.github/actions/aws-waf-access/README.md index bef7ecb..61fc65a 100644 --- a/.github/actions/aws-waf-access/README.md +++ b/.github/actions/aws-waf-access/README.md @@ -17,7 +17,7 @@ N/A #### Usage ```yaml - name: Allow WAF Access - uses: dvsa/.github/.github/actions/aws-waf-access@v6 + uses: dvsa/.github/.github/actions/aws-waf-access@v7 with: ip_set_name: dev-mot-waf-ipset rule_action: INSERT diff --git a/.github/actions/commitlint/README.md b/.github/actions/commitlint/README.md index e4681b9..7d81d03 100644 --- a/.github/actions/commitlint/README.md +++ b/.github/actions/commitlint/README.md @@ -14,7 +14,7 @@ jobs: check-pr-title: runs-on: ubuntu-latest steps: - - uses: dvsa/.github/.github/actions/commitlint@v6 + - uses: dvsa/.github/.github/actions/commitlint@v7 with: input: ${{ github.event.pull_request.title }} ``` diff --git a/.github/actions/display-jest-test-summary/README.md b/.github/actions/display-jest-test-summary/README.md index 05a1074..a5d4f09 100644 --- a/.github/actions/display-jest-test-summary/README.md +++ b/.github/actions/display-jest-test-summary/README.md @@ -20,7 +20,7 @@ Table of jest test results displayed on Github summary #### Usage ```yaml - name: Display Jest Test Summary - uses: dvsa/.github/.github/actions/display-jest-test-summary@v6 + uses: dvsa/.github/.github/actions/display-jest-test-summary@v7 with: test_report_path: 'test-report.html' ``` diff --git a/.github/actions/gatling-job-summary/README.md b/.github/actions/gatling-job-summary/README.md index e086a3f..90298b7 100644 --- a/.github/actions/gatling-job-summary/README.md +++ b/.github/actions/gatling-job-summary/README.md @@ -16,7 +16,7 @@ N/A #### Usage ```yaml - name: Generate Job Summary - uses: dvsa/.github/.github/actions/gatling-job-summary@v6 + uses: dvsa/.github/.github/actions/gatling-job-summary@v7 with: gatling_report_path: .target/gatling/ ``` diff --git a/.github/actions/java-config/README.md b/.github/actions/java-config/README.md index 610fcaf..8fe52bf 100644 --- a/.github/actions/java-config/README.md +++ b/.github/actions/java-config/README.md @@ -16,7 +16,7 @@ N/A #### Usage ```yaml - name: Java Setup - uses: dvsa/.github/.github/actions/java-config@v6 + uses: dvsa/.github/.github/actions/java-config@v7 with: java-version: 17 ``` diff --git a/.github/actions/terraform-action/README.md b/.github/actions/terraform-action/README.md index efd0a3d..4ac9ec9 100644 --- a/.github/actions/terraform-action/README.md +++ b/.github/actions/terraform-action/README.md @@ -25,7 +25,7 @@ N/A #### Usage ```yaml - name: Terraform - db - uses: dvsa/.github/.github/actions/terraform-action@v6 + uses: dvsa/.github/.github/actions/terraform-action@v7 working-directory: . with: action: plan @@ -37,7 +37,7 @@ N/A project: mot-project - name: Terraform - app - uses: dvsa/.github/.github/actions/terraform-action@v6 + uses: dvsa/.github/.github/actions/terraform-action@v7 working-directory: ./infrastructure with: action: plan diff --git a/.github/actions/terraform-fmt/README.md b/.github/actions/terraform-fmt/README.md index e9a2326..e312a53 100644 --- a/.github/actions/terraform-fmt/README.md +++ b/.github/actions/terraform-fmt/README.md @@ -16,5 +16,5 @@ N/A #### Usage ```yaml - name: terraform fmt - uses: dvsa/.github/.github/actions/terraform-fmt@v6 + uses: dvsa/.github/.github/actions/terraform-fmt@v7 ``` diff --git a/.github/actions/terraform-workspace/README.md b/.github/actions/terraform-workspace/README.md index 502b67b..7feb896 100644 --- a/.github/actions/terraform-workspace/README.md +++ b/.github/actions/terraform-workspace/README.md @@ -21,13 +21,13 @@ N/A #### Usage ```yaml - name: TF workspace - uses: dvsa/.github/.github/actions/terraform-workspace@v6 + uses: dvsa/.github/.github/actions/terraform-workspace@v7 with: terraform_workspace_name: ${{ inputs.terraform_workspace_name }} terraform_version: 1.3.7 - name: TF workspace - uses: dvsa/.github/.github/actions/terraform-workspace@v6 + uses: dvsa/.github/.github/actions/terraform-workspace@v7 with: terraform_workspace_name: test01 ``` diff --git a/.github/actions/update-pr/README.md b/.github/actions/update-pr/README.md index 02ffc79..341deb0 100644 --- a/.github/actions/update-pr/README.md +++ b/.github/actions/update-pr/README.md @@ -19,5 +19,5 @@ pr-update: needs: tf-plan runs-on: ubuntu-latest steps: - - uses: dvsa/.github/.github/actions/update-pr@v6 + - uses: dvsa/.github/.github/actions/update-pr@v7 ``` diff --git a/.github/workflows/conventional-commits.yaml b/.github/workflows/conventional-commits.yaml index 766bdf5..b2ef114 100644 --- a/.github/workflows/conventional-commits.yaml +++ b/.github/workflows/conventional-commits.yaml @@ -23,6 +23,6 @@ jobs: INPUT: ${{ inputs.title || github.event.pull_request.title }} steps: - name: Validate input - uses: dvsa/.github/.github/actions/commitlint@v6 + uses: dvsa/.github/.github/actions/commitlint@v7 with: input: ${{ env.INPUT }} diff --git a/.github/workflows/secrets-scan.yaml b/.github/workflows/secrets-scan.yaml index 9afe1af..b5841d5 100644 --- a/.github/workflows/secrets-scan.yaml +++ b/.github/workflows/secrets-scan.yaml @@ -7,7 +7,7 @@ name: Secrets scan # Invoke from a repo via: # jobs: # secrets: -# uses: dvsa/.github/.github/workflows/secrets-scan.yaml@v6 +# uses: dvsa/.github/.github/workflows/secrets-scan.yaml@v7 on: workflow_call: diff --git a/README.md b/README.md index 8927f57..fac8662 100644 --- a/README.md +++ b/README.md @@ -18,19 +18,19 @@ When referencing workflows from this repository, you can choose different versio ```yaml # Recommended: Pin to major version (automatically receives patch and minor updates) -uses: dvsa/.github/.github/workflows/nodejs-test.yaml@v6 +uses: dvsa/.github/.github/workflows/nodejs-test.yaml@v7 # Conservative: Pin to minor version (automatically receives patch updates only) -uses: dvsa/.github/.github/workflows/nodejs-test.yaml@v6.0 +uses: dvsa/.github/.github/workflows/nodejs-test.yaml@v7.0 # Most conservative: Pin to exact version (no automatic updates) -uses: dvsa/.github/.github/workflows/nodejs-test.yaml@v6.0.0 +uses: dvsa/.github/.github/workflows/nodejs-test.yaml@v7.0.0 # Not recommended: Use main branch (may contain breaking changes) uses: dvsa/.github/.github/workflows/nodejs-test.yaml@main ``` -**Recommendation:** For production workflows, pin to the major version (`@v6`) to automatically receive bug fixes and new features while avoiding breaking changes. For maximum stability during critical periods, use an exact version and update manually. +**Recommendation:** For production workflows, pin to the major version (`@v7`) to automatically receive bug fixes and new features while avoiding breaking changes. For maximum stability during critical periods, use an exact version and update manually. ### Version Bumping @@ -260,13 +260,13 @@ The build and upload-to-s3 steps would look like the following: ```YAML build: - uses: dvsa/.github/.github/workflows/nodejs-build.yaml@v6 + uses: dvsa/.github/.github/workflows/nodejs-build.yaml@v7 with: upload-artifact: true build-command: npm run build:prod upload-to-s3: - uses: dvsa/.github/.github/workflows/upload-to-s3.yaml@v6 + uses: dvsa/.github/.github/workflows/upload-to-s3.yaml@v7 with: environment: nonprod short-commit: ${{ needs.build-names.outputs.short_sha }} @@ -301,7 +301,7 @@ The build and upload-to-s3 steps would have the following inputs: ```YAML build: - uses: dvsa/.github/.github/workflows/nodejs-build.yaml@v6 + uses: dvsa/.github/.github/workflows/nodejs-build.yaml@v7 with: upload-artifact: true build-folder: build @@ -309,7 +309,7 @@ The build and upload-to-s3 steps would have the following inputs: build-command: npm run build:prod upload-to-s3: - uses: dvsa/.github/.github/workflows/upload-to-s3.yaml@v6 + uses: dvsa/.github/.github/workflows/upload-to-s3.yaml@v7 with: environment: dev short-commit: ${{ needs.build-names.outputs.short_sha }} @@ -345,7 +345,7 @@ The upload-to-s3 action with a matrix strategy defined: ```YAML upload-to-s3: - uses: dvsa/.github/.github/workflows/upload-to-s3.yaml@v6 + uses: dvsa/.github/.github/workflows/upload-to-s3.yaml@v7 strategy: matrix: buildName: [ @@ -411,7 +411,7 @@ IDE integration matches those on the Snyk website. jobs: security: if: github.event.pull_request.merged == true - uses: dvsa/.github/.github/workflows/java-security.yaml@v6 + uses: dvsa/.github/.github/workflows/java-security.yaml@v7 with: java_version: 11 snyk_project: smc-w53 @@ -538,7 +538,7 @@ Typically, this would run on push so the action result can be used to validate a jobs: security: if: github.event.pull_request.merged == true - uses: dvsa/.github/.github/workflows/java-security.yaml@v6 + uses: dvsa/.github/.github/workflows/java-security.yaml@v7 with: java_version: 11 snyk_project: smc-w53 @@ -585,7 +585,7 @@ on: jobs: unit-test: - uses: dvsa/.github/.github/workflows/java-test.yaml@v6 + uses: dvsa/.github/.github/workflows/java-test.yaml@v7 with: config_file_contents: | environment: development @@ -615,18 +615,18 @@ on: jobs: security: - uses: dvsa/.github/.github/workflows/php-security.yml@v6 + uses: dvsa/.github/.github/workflows/php-security.yml@v7 secrets: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} ``` if using library version amend ```YAML - uses: dvsa/.github/.github/workflows/php-security.yml@v6 + uses: dvsa/.github/.github/workflows/php-security.yml@v7 ``` to ```YAML - uses: dvsa/.github/.github/workflows/php-library-security.yml@v6 + uses: dvsa/.github/.github/workflows/php-library-security.yml@v7 ``` @@ -654,16 +654,16 @@ on: jobs: static: - uses: dvsa/.github/.github/workflows/php-static.yml@v6 + uses: dvsa/.github/.github/workflows/php-static.yml@v7 ``` if using library version amend ```YAML - uses: dvsa/.github/.github/workflows/php-static.yml@v6 + uses: dvsa/.github/.github/workflows/php-static.yml@v7 ``` to ```YAML - uses: dvsa/.github/.github/workflows/php-library-static.yml@v6 + uses: dvsa/.github/.github/workflows/php-library-static.yml@v7 ``` @@ -692,18 +692,18 @@ on: jobs: static: - uses: dvsa/.github/.github/workflows/php-tests.yml@v6 + uses: dvsa/.github/.github/workflows/php-tests.yml@v7 with: php_versions: "[\"7.4\",\"8.0\"]" ``` if using library version amend ```YAML - uses: dvsa/.github/.github/workflows/php-tests.yml@v6 + uses: dvsa/.github/.github/workflows/php-tests.yml@v7 ``` to ```YAML - uses: dvsa/.github/.github/workflows/php-library-tests.yml@v6 + uses: dvsa/.github/.github/workflows/php-library-tests.yml@v7 ``` diff --git a/workflow-templates/check-pr-title.yaml b/workflow-templates/check-pr-title.yaml index 3d0b559..de433b4 100644 --- a/workflow-templates/check-pr-title.yaml +++ b/workflow-templates/check-pr-title.yaml @@ -15,6 +15,6 @@ permissions: jobs: check: - uses: dvsa/.github/.github/workflows/conventional-commits.yaml@v6 + uses: dvsa/.github/.github/workflows/conventional-commits.yaml@v7 with: title: ${{ github.event.pull_request.title }} diff --git a/workflow-templates/ci.yaml b/workflow-templates/ci.yaml index 0c0c6c0..e147a98 100644 --- a/workflow-templates/ci.yaml +++ b/workflow-templates/ci.yaml @@ -5,13 +5,13 @@ on: jobs: lint: - uses: dvsa/.github/.github/workflows/nodejs-lint.yaml@v6 + uses: dvsa/.github/.github/workflows/nodejs-lint.yaml@v7 test: - uses: dvsa/.github/.github/workflows/nodejs-test.yaml@v6 + uses: dvsa/.github/.github/workflows/nodejs-test.yaml@v7 security: - uses: dvsa/.github/.github/workflows/nodejs-security.yaml@v6 + uses: dvsa/.github/.github/workflows/nodejs-security.yaml@v7 secrets: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} @@ -35,7 +35,7 @@ jobs: echo "NAME=${PRETTY_BRANCH_NAME}" >> $GITHUB_OUTPUT build: - uses: dvsa/.github/.github/workflows/nodejs-build.yaml@v6 + uses: dvsa/.github/.github/workflows/nodejs-build.yaml@v7 needs: [ build-names ] with: upload-artifact: ${{ github.ref_name == 'main' }} @@ -44,7 +44,7 @@ jobs: upload-to-s3: if: ${{ github.ref_name == github.event.repository.default_branch }} - uses: dvsa/.github/.github/workflows/upload-to-s3.yaml@v6 + uses: dvsa/.github/.github/workflows/upload-to-s3.yaml@v7 needs: [ lint, test, build, build-names ] with: environment: dev @@ -61,7 +61,7 @@ jobs: update-lambda-code: if: ${{ github.ref_name == github.event.repository.default_branch }} - uses: dvsa/.github/.github/workflows/update-lambda-function.yaml@v6 + uses: dvsa/.github/.github/workflows/update-lambda-function.yaml@v7 needs: [ build-names, build, upload-s3 ] with: environment: dev diff --git a/workflow-templates/npm-publish.yaml b/workflow-templates/npm-publish.yaml index 615345e..e30b20f 100644 --- a/workflow-templates/npm-publish.yaml +++ b/workflow-templates/npm-publish.yaml @@ -6,7 +6,7 @@ on: jobs: publish: - uses: dvsa/.github/.github/workflows/nodejs-publish.yaml@v6 + uses: dvsa/.github/.github/workflows/nodejs-publish.yaml@v7 with: download-artifact: true build-folder: package diff --git a/workflow-templates/php-library-security.yml b/workflow-templates/php-library-security.yml index 094a444..6eaac62 100644 --- a/workflow-templates/php-library-security.yml +++ b/workflow-templates/php-library-security.yml @@ -10,7 +10,7 @@ on: jobs: security: - uses: dvsa/.github/.github/workflows/php-library-security.yml@v6 + uses: dvsa/.github/.github/workflows/php-library-security.yml@v7 with: php-versions: "[\"8.2\",\"8.3\",\"8.4\",\"8.5\"]" secrets: diff --git a/workflow-templates/php-library-static.yml b/workflow-templates/php-library-static.yml index 5993f15..baf274d 100644 --- a/workflow-templates/php-library-static.yml +++ b/workflow-templates/php-library-static.yml @@ -10,4 +10,4 @@ on: jobs: static: - uses: dvsa/.github/.github/workflows/php-library-static.yml@v6 + uses: dvsa/.github/.github/workflows/php-library-static.yml@v7 diff --git a/workflow-templates/php-library-tests.yml b/workflow-templates/php-library-tests.yml index d5dc133..57eadb6 100644 --- a/workflow-templates/php-library-tests.yml +++ b/workflow-templates/php-library-tests.yml @@ -10,6 +10,6 @@ on: jobs: static: - uses: dvsa/.github/.github/workflows/php-library-tests.yml@v6 + uses: dvsa/.github/.github/workflows/php-library-tests.yml@v7 with: php-versions: "[\"8.2\",\"8.3\",\"8.4\",\"8.5\"]" diff --git a/workflow-templates/php-security.yml b/workflow-templates/php-security.yml index dca3bac..f07a05e 100644 --- a/workflow-templates/php-security.yml +++ b/workflow-templates/php-security.yml @@ -10,6 +10,6 @@ on: jobs: security: - uses: dvsa/.github/.github/workflows/php-security.yml@v6 + uses: dvsa/.github/.github/workflows/php-security.yml@v7 secrets: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} diff --git a/workflow-templates/php-static.yml b/workflow-templates/php-static.yml index 3523f6c..c2aefad 100644 --- a/workflow-templates/php-static.yml +++ b/workflow-templates/php-static.yml @@ -10,4 +10,4 @@ on: jobs: static: - uses: dvsa/.github/.github/workflows/php-static.yml@v6 + uses: dvsa/.github/.github/workflows/php-static.yml@v7 diff --git a/workflow-templates/php-tests.yml b/workflow-templates/php-tests.yml index 341821f..3e325af 100644 --- a/workflow-templates/php-tests.yml +++ b/workflow-templates/php-tests.yml @@ -10,6 +10,6 @@ on: jobs: tests: - uses: dvsa/.github/.github/workflows/php-tests.yml@v6 + uses: dvsa/.github/.github/workflows/php-tests.yml@v7 with: php-versions: "[\"8.2\",\"8.3\",\"8.4\",\"8.5\"]" diff --git a/workflow-templates/secrets-scan.yaml b/workflow-templates/secrets-scan.yaml index 89859da..a4c0f69 100644 --- a/workflow-templates/secrets-scan.yaml +++ b/workflow-templates/secrets-scan.yaml @@ -15,7 +15,7 @@ permissions: jobs: secrets: - uses: dvsa/.github/.github/workflows/secrets-scan.yaml@v6 + uses: dvsa/.github/.github/workflows/secrets-scan.yaml@v7 with: # Run a full-history scan on the weekly cron only (fast on PRs). scan-history: ${{ github.event_name == 'schedule' }} diff --git a/workflow-templates/terraform-static-full.yaml b/workflow-templates/terraform-static-full.yaml index c089c4e..16eec11 100644 --- a/workflow-templates/terraform-static-full.yaml +++ b/workflow-templates/terraform-static-full.yaml @@ -6,4 +6,4 @@ on: jobs: terraform-static: - uses: dvsa/.github/.github/workflows/terraform-static-full.yaml@v6 + uses: dvsa/.github/.github/workflows/terraform-static-full.yaml@v7 diff --git a/workflow-templates/terraform-static.yaml b/workflow-templates/terraform-static.yaml index 8acdd7a..c671873 100644 --- a/workflow-templates/terraform-static.yaml +++ b/workflow-templates/terraform-static.yaml @@ -5,4 +5,4 @@ on: jobs: terraform-static: - uses: dvsa/.github/.github/workflows/terraform-static.yaml@v6 + uses: dvsa/.github/.github/workflows/terraform-static.yaml@v7