This repository was archived by the owner on Jan 7, 2026. It is now read-only.
Adding Fixed Advisory CGA-39p3-55ch-7h64 for ruby-3.2 (#28280) #12198
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and publish YAML | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-publish: | |
| name: Build and publish YAML | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'wolfi-dev/advisories' | |
| permissions: | |
| id-token: write | |
| contents: read | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| # this need to point to main to always get the latest action | |
| - uses: wolfi-dev/actions/build-and-publish-yaml@main # main | |
| with: | |
| workload_identity_provider: "projects/618116202522/locations/global/workloadIdentityPools/prod-shared-e350/providers/prod-shared-gha" | |
| service_account: "prod-images-ci@prod-images-c6e5.iam.gserviceaccount.com" | |
| gcp_project_id: prod-images-c6e5 | |
| wolfictl_args: "advisory export --advisories-repo-dir . --format yaml -o advisories.yaml" | |
| gcs_apk_bucket_name: wolfi-production-registry-destination | |
| gcs_apk_directory_name: os | |
| - name: Post failure notice to Slack | |
| uses: step-security/action-slack-notify@e04c77a65bae8b6c0373478a1cb8fd7e012637e6 # v2.3.5 | |
| if: ${{ failure() }} | |
| env: | |
| SLACK_ICON: http://github.com/chainguard-dev.png?size=48 | |
| SLACK_USERNAME: guardian | |
| SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| SLACK_CHANNEL: 'eng-squad-lifecycle-alerts' | |
| SLACK_COLOR: '#8E1600' | |
| MSG_MINIMAL: 'true' | |
| SLACK_TITLE: Build/Publish YAML for ${{ github.repository }} failed! | |
| SLACK_MESSAGE: | | |
| For detailed logs: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} |