Skip to content

Commit

Permalink
feat: setup attestation for plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
davisshaver committed Dec 12, 2024
1 parent 0eb1788 commit 5432c2d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/generate-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ jobs:
build:
runs-on: ubuntu-latest

permissions:
attestations: write
contents: read
id-token: write

timeout-minutes: 70

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -51,9 +58,15 @@ jobs:
args: unzip -qq wp-farcaster.zip -d wp-farcaster

- name: Upload plugin to WP.org
id: deploy
uses: 10up/[email protected]
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: wp-farcaster
BUILD_DIR: ./wp-farcaster

- name: Attest build provenance
uses: johnbillion/[email protected]
with:
zip-path: ${{ steps.deploy.outputs.zip-path }}

0 comments on commit 5432c2d

Please sign in to comment.