Compare commits

..

2 Commits

Author SHA1 Message Date
Louis Bompart
ec16978535 Merge fad8fd9f21 into cbb722410c 2024-11-20 08:50:09 -05:00
Louis Bompart
fad8fd9f21 docs(readme): add permissions in push example
A reminder about the required privilege to push would benefit the example of pushing with the built-in token IMHO.
2024-06-12 02:44:40 -04:00
3 changed files with 5 additions and 2 deletions

View File

@@ -17,4 +17,4 @@ jobs:
uses: actions/checkout@v4
- name: Publish
id: publish
uses: actions/publish-immutable-action@v0.0.4
uses: actions/publish-immutable-action@0.0.3

View File

@@ -48,7 +48,7 @@ jobs:
# Use `docker/build-push-action` to build (and optionally publish) the image.
- name: Build Docker Image (with optional Push)
uses: docker/build-push-action@v6.10.0
uses: docker/build-push-action@v6.5.0
with:
context: .
file: images/test-ubuntu-git.Dockerfile

View File

@@ -273,6 +273,9 @@ jobs:
```yaml
on: push
# `contents:write` permission must be granted to the built-in token, see https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
contents: write #Require
jobs:
build:
runs-on: ubuntu-latest