diff --git a/.github/workflows/backstage-catalog-helper.yml b/.github/workflows/backstage-catalog-helper.yml index 152cea268..ad8b5f145 100644 --- a/.github/workflows/backstage-catalog-helper.yml +++ b/.github/workflows/backstage-catalog-helper.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Actions - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 + uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 with: fetch-depth: 0 persist-credentials: false - name: Run Backstage Catalog Info Helper - uses: cds-snc/backstage-catalog-info-helper-action@cc75afc29a0ade6c41400132ff9e1222f8916ba6 # v0.3.1 + uses: cds-snc/backstage-catalog-info-helper-action@e36696cef34ed39c43a6e4a3873821bb2bad7eef # v0.3.1 with: github_app_id: ${{ secrets.SRE_BOT_RW_APP_ID }} github_app_private_key: ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }} @@ -28,7 +28,7 @@ jobs: app_id: ${{ secrets.SRE_BOT_RW_APP_ID }} private_key: ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }} - name: Create pull request - uses: peter-evans/create-pull-request@6cd32fd93684475c31847837f87bb135d40a2b79 # v7.0.3 + uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11 with: token: ${{ steps.generate_token.outputs.token}} sign-commits: true diff --git a/.github/workflows/export_github_data.yml b/.github/workflows/export_github_data.yml index d173e299d..4773f13bc 100644 --- a/.github/workflows/export_github_data.yml +++ b/.github/workflows/export_github_data.yml @@ -16,12 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Audit DNS requests - uses: cds-snc/dns-proxy-action@2aee21aebfddefac5839497648a36a9f84342d8b + uses: cds-snc/dns-proxy-action@f0796e7f3d6bec5d40aecb0321ed8012f5602f84 env: DNS_PROXY_FORWARDTOSENTINEL: "true" DNS_PROXY_LOGANALYTICSWORKSPACEID: ${{ secrets.LOG_ANALYTICS_WORKSPACE_ID }} DNS_PROXY_LOGANALYTICSSHAREDKEY: ${{ secrets.LOG_ANALYTICS_WORKSPACE_KEY }} - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Configure AWS credentials using OIDC uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1 with: diff --git a/.github/workflows/ossf-scorecard.yml b/.github/workflows/ossf-scorecard.yml index caaf1e9f0..497d58826 100644 --- a/.github/workflows/ossf-scorecard.yml +++ b/.github/workflows/ossf-scorecard.yml @@ -22,12 +22,12 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@169c9b9248e36d400bebded8160c7fe2cbbc7762 + uses: ossf/scorecard-action@05bb7c663f6ec9bd8484da0a5b5a77d423e3f88c with: results_file: ossf-results.json results_format: json @@ -41,7 +41,7 @@ jobs: jq -c '. + {"metadata_owner": "'$OWNER'", "metadata_repo": "'$REPO'", "metadata_query": "ossf"}' ossf-results.json > ossf-results-modified.json - name: "Post results to Sentinel" - uses: cds-snc/sentinel-forward-data-action@01db4a9203054ecdb60ff368c3cdfca71d62e85f + uses: cds-snc/sentinel-forward-data-action@0c349852373284a1130f87f8b91896132b0fc138 with: file_name: ossf-results-modified.json log_type: GitHubMetadata_OSSF_Scorecard diff --git a/.github/workflows/request-ecs-service-to-use-new-image/action.yml b/.github/workflows/request-ecs-service-to-use-new-image/action.yml index 1bf62fb9a..28f155ee1 100644 --- a/.github/workflows/request-ecs-service-to-use-new-image/action.yml +++ b/.github/workflows/request-ecs-service-to-use-new-image/action.yml @@ -28,7 +28,7 @@ runs: - name: Login to Staging Amazon ECR id: login-ecr-staging - uses: aws-actions/amazon-ecr-login@c962da2960ed15f492addc26fffa274485265950 # v2.0.2 + uses: aws-actions/amazon-ecr-login@261fc3d4806db1fa66a15cc11113c456db8870a7 # v2.1.0 - name: Download ECS task definition shell: bash @@ -39,7 +39,7 @@ runs: - name: Update ECS task image id: task-def - uses: aws-actions/amazon-ecs-render-task-definition@6b89923a897d41e9ad789181d8865b532ecf973c # v1.8.3 + uses: aws-actions/amazon-ecs-render-task-definition@77954e213ba1f9f9cb016b86a1d4f6fcdea0d57e # v1.8.4 with: task-definition: task-definition.json container-name: ${{ inputs.ecs-service-name }} diff --git a/.github/workflows/request-lambda-functions-to-use-new-image/action.yml b/.github/workflows/request-lambda-functions-to-use-new-image/action.yml index 80402870c..f0b41b243 100644 --- a/.github/workflows/request-lambda-functions-to-use-new-image/action.yml +++ b/.github/workflows/request-lambda-functions-to-use-new-image/action.yml @@ -24,7 +24,7 @@ runs: - name: Login to Staging Amazon ECR id: login-ecr-staging - uses: aws-actions/amazon-ecr-login@c962da2960ed15f492addc26fffa274485265950 # v2.0.2 + uses: aws-actions/amazon-ecr-login@261fc3d4806db1fa66a15cc11113c456db8870a7 # v2.1.0 - name: Update Lambda function image env: diff --git a/.github/workflows/s3-backup.yml b/.github/workflows/s3-backup.yml index a61edc6f5..6550bc280 100644 --- a/.github/workflows/s3-backup.yml +++ b/.github/workflows/s3-backup.yml @@ -14,13 +14,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 with: fetch-depth: 0 # retrieve all history persist-credentials: false - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8 # v5.1.0 + uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708 # v5.1.1 with: role-to-assume: ${{ secrets.AWS_S3_BACKUP_IAM_ROLE_ARN }} role-session-name: S3Backup diff --git a/.github/workflows/tag-and-push-docker-images/action.yml b/.github/workflows/tag-and-push-docker-images/action.yml index 1872707d1..319cd8a39 100644 --- a/.github/workflows/tag-and-push-docker-images/action.yml +++ b/.github/workflows/tag-and-push-docker-images/action.yml @@ -27,7 +27,7 @@ runs: - name: Login to Staging Amazon ECR id: login-ecr-staging - uses: aws-actions/amazon-ecr-login@c962da2960ed15f492addc26fffa274485265950 # v2.0.2 + uses: aws-actions/amazon-ecr-login@261fc3d4806db1fa66a15cc11113c456db8870a7 # v2.1.0 - name: Tag and push docker images env: