Skip to content

Commit

Permalink
Step 2: add attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Jul 23, 2024
1 parent cce3fa3 commit ff588bf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@ jobs:
- name: Build the phar
run: php scripts/build-phar.php

# Provide provenance for generated binaries.
# Only attests the build artifacts which will be used in the published releases as per the guidelines in "what to attest".
# https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds
- name: Generate artifact attestations
#if: github.ref_type == 'tag'

Check warning on line 51 in .github/workflows/test.yml

View workflow job for this annotation

GitHub Actions / Lint Yaml

51:10 [comments] missing starting space in comment
uses: actions/attest-build-provenance@v1
with:
subject-path: |
${{ github.workspace }}/phpcs.phar
${{ github.workspace }}/phpcbf.phar
- name: Upload the PHPCS phar
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit ff588bf

Please sign in to comment.