Skip to content

Commit

Permalink
ci: set permission for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoXuxxxx committed Mar 3, 2024
1 parent 3ed046f commit d921b4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: [main]
workflow_dispatch:

permissions:
contents: write
packages: write

jobs:
build-and-push-docker-image:
name: Build Docker image and push to repositories
Expand Down

0 comments on commit d921b4a

Please sign in to comment.