Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
on:
push:

permissions:
contents: write
pull-requests: write
permissions: read-all

name: Publish release
jobs:
update-action-references:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Check-out source code
Expand All @@ -29,6 +30,9 @@ jobs:

release:
if: github.ref == 'refs/heads/main'
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
needs: update-action-references
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-repo-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ on:

jobs:
update-repo-docs:
permissions:
contents: write
uses: fortify/shared-doc-resources/.github/workflows/update-repo-docs.yml@main
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
- name: Set Fortify data directory
run: echo "FORTIFY_DATA_DIR=${{ runner.temp }}/fortify-data" >> $GITHUB_ENV
shell: bash
- uses: fortify/github-action/setup@main
- uses: fortify/github-action/setup@mjain6/review-github-actions-vulnerabilities
with:
fcli: bootstrapped
export-path: false
Expand Down