Skip to content

Commit 87a9740

Browse files
authored
Merge pull request #1 from sebastienfi/feat-demo-workspace
Demo for workflow "Update Structurizr Diagrams" referencing the action sebastienfi/structurizr-pr-comment@v1
2 parents c39f001 + 94987d1 commit 87a9740

17 files changed

+269
-0
lines changed

.github/workflows/structurizr-diagrams-comment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ jobs:
1111
comment-on-pr:
1212
if: github.event.workflow_run.conclusion == 'success'
1313
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read # Allow to work with the contents of the repository, including git pull.
16+
issues: write # Allow to comment on pull requests.
17+
pull-requests: write # Allow to list and create pr's comments.
1418
steps:
1519
- uses: sebastienfi/structurizr-pr-comment@v1
1620
with:

.github/workflows/structurizr-diagrams-update.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
update-diagrams:
1414
runs-on: ubuntu-latest
1515
container: ghcr.io/sebastienfi/structurizr-cli-with-bonus:latest
16+
permissions:
17+
contents: write # Allow to work with the contents of the repository, including git push.
1618
steps:
1719
- uses: sebastienfi/structurizr-gen-images@v1
1820
with:
14.8 KB
Loading
82.7 KB
Loading
17.4 KB
Loading
90.5 KB
Loading
13.6 KB
Loading
81.1 KB
Loading
15.9 KB
Loading
119 KB
Loading

0 commit comments

Comments
 (0)