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

Fixed the token-permission issue #1088

Merged
merged 1 commit into from
Sep 8, 2024
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
3 changes: 3 additions & 0 deletions .github/workflows/conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ 'main', 'release-*' ]

permissions:
contents: read

jobs:

conformance:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/go-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ 'main', 'release-*' ]

permissions:
contents: read

jobs:

build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/go-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ 'main', 'release-*' ]

permissions:
contents: read

jobs:

format:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/go-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ 'main', 'release-*' ]

permissions:
contents: read

jobs:

lint:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/go-unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ 'main', 'release-*' ]

permissions:
contents: read

jobs:

test:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/inclusive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
branches: [ 'main', 'release-*' ]

permissions:
contents: read

jobs:

language:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ 'main', 'release-*' ]

permissions:
contents: read

jobs:

integration:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/observability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ 'main', 'release-*' ]

permissions:
contents: read

jobs:

observability:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- release-*

permissions:
contents: read

jobs:
semver:
name: Calculate Next Release
Expand All @@ -28,6 +31,8 @@ jobs:
echo "::set-output name=next::$NEXT"

mainmodule:
permissions:
contents: write
name: Release Main Module
runs-on: ubuntu-latest
needs: semver
Expand All @@ -45,6 +50,8 @@ jobs:
prerelease: false

submodules:
permissions:
contents: write
name: Release Sub-Modules
runs-on: ubuntu-latest
needs:
Expand Down Expand Up @@ -78,6 +85,8 @@ jobs:
run: ./hack/tag-release.sh --tag --push

examples:
permissions:
contents: write
name: Update Examples
runs-on: ubuntu-latest
needs:
Expand Down