Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added default perms for ci on kopf #632

Merged
merged 1 commit into from
Dec 12, 2023
Merged
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
4 changes: 4 additions & 0 deletions .github/workflows/build-s2i-python-kopf-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
paths:
- build-s2i-python-kopf/**
- .github/workflows/build-s2i-python-kopf-pr.yaml

# Declare default permissions as read only.
permissions: read-all

jobs:
test:
env:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-s2i-python-kopf-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ on:
paths:
- build-s2i-python-kopf/version.json
- .github/workflows/build-s2i-python-kopf-publish.yaml

# Declare default permissions as read only.
permissions: read-all

jobs:
publish:
env:
CONTEXT_DIR: build-s2i-python-kopf
IMAGE_NAME: python-kopf-s2i
REGISTRY: ${{ secrets.REGISTRY_URI }}
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

Expand Down