Skip to content
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
6 changes: 6 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/postgres

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -72,6 +75,9 @@ jobs:
test:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
strategy:
fail-fast: false # Don't cancel other tests if one fails
matrix:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ env:
REGISTRY: ghcr.io
HELM_REGISTRY: oci://ghcr.io/flanksource/charts

permissions:
contents: read

jobs:
lint-and-test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -91,6 +94,9 @@ jobs:

security-scan:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository_owner }}/postgres

permissions:
contents: read

jobs:
determine-version:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ env:
TEST_USER: testuser
TEST_PASSWORD: testpass123

permissions:
contents: read

jobs:
test-env-variables:
runs-on: ubuntu-latest
Expand Down
Loading