Skip to content

Commit 142420a

Browse files
authored
chore: add publish suppressions workflow (#7620)
1 parent 3ac1522 commit 142420a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish Suppressions
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions: {}
7+
jobs:
8+
update_suppression:
9+
permissions:
10+
contents: write # to push changes in repo (jamesives/github-pages-deploy-action)
11+
12+
name: Publish Suppressions
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
ref: generatedSuppressions
18+
- uses: actions/setup-node@v4.4.0
19+
- name: Publish Updated Suppressions
20+
if: ${{ steps.fp-ops-commit.outputs.publish == 'true' }}
21+
uses: JamesIves/github-pages-deploy-action@v4.7.3
22+
with:
23+
branch: gh-pages
24+
folder: suppressions
25+
target-folder: suppressions
26+

0 commit comments

Comments
 (0)