Skip to content

Commit

Permalink
Add an attestation job.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Nov 15, 2024
1 parent 7fbcf9c commit b1be751
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
issues: write

jobs:
test:
deploy:
name: Deploy Tag
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-deploy-tag.yml@attestation
with:
Expand All @@ -31,3 +31,16 @@ jobs:
secrets:
WPORG_SVN_USERNAME: ${{ secrets.WPORG_SVN_USERNAME }}
WPORG_SVN_PASSWORD: ${{ secrets.WPORG_SVN_PASSWORD }}
attest:
name: Attest release
runs-on: ubuntu-latest
timeout-minutes: 70
needs: deploy
steps:
- name: Checkout repository
uses: johnbillion/plugin-infrastructure/@attestation
with:
attest: ${{ github.event_name != 'workflow_dispatch' }}
plugin: query-monitor
version: ${{ github.event_name != 'workflow_dispatch' && github.event.release.tag_name || github.event.inputs.version }}
zip-path: ${{ needs.deploy.outputs.zip-path }}

0 comments on commit b1be751

Please sign in to comment.