This is an automated email from the ASF dual-hosted git repository.
Croway pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-upgrade-recipes.git
The following commit(s) were added to refs/heads/main by this push:
new 1acf634 Add explicit permissions to CI and release workflows
1acf634 is described below
commit 1acf634d7c04e63c2733df53359aebc69f622d14
Author: Arpit Jain <[email protected]>
AuthorDate: Tue May 12 23:23:13 2026 +0900
Add explicit permissions to CI and release workflows
---
.github/workflows/ci-build.yaml | 3 +++
.github/workflows/github-release.yml | 3 +++
.github/workflows/receive-pr.yml | 3 +++
3 files changed, 9 insertions(+)
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 4eedc09..a6301d0 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -35,6 +35,9 @@ on:
- 'KEYS'
- 'LICENSE.txt'
+permissions:
+ contents: read
+
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
diff --git a/.github/workflows/github-release.yml
b/.github/workflows/github-release.yml
index 8790774..1373ba5 100644
--- a/.github/workflows/github-release.yml
+++ b/.github/workflows/github-release.yml
@@ -23,6 +23,9 @@ on:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
+permissions:
+ contents: write
+
jobs:
release:
runs-on: ubuntu-latest
diff --git a/.github/workflows/receive-pr.yml b/.github/workflows/receive-pr.yml
index ebaa259..b2e138e 100644
--- a/.github/workflows/receive-pr.yml
+++ b/.github/workflows/receive-pr.yml
@@ -10,6 +10,9 @@ on:
branches:
- main
+permissions:
+ contents: read
+
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true