mirror of
https://github.com/twuni/docker-registry.helm.git
synced 2026-05-11 03:48:07 +00:00
Bar permissions and allow forks to run in base scope (#6)
* Test permissions * Add back pull_request * Use full SHA
This commit is contained in:
6
.github/workflows/pr_diff.yaml
vendored
6
.github/workflows/pr_diff.yaml
vendored
@@ -1,6 +1,10 @@
|
||||
name: PR Diff for Helm chart
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
diff:
|
||||
@@ -34,7 +38,7 @@ jobs:
|
||||
echo 'HELM_DIFF<<EOF' >> $GITHUB_ENV
|
||||
echo "$(diff -ur before after)" >> $GITHUB_ENV
|
||||
echo 'EOF' >> $GITHUB_ENV
|
||||
- uses: marocchino/sticky-pull-request-comment@v2
|
||||
- uses: marocchino/sticky-pull-request-comment@39c5b5dc7717447d0cba270cd115037d32d28443
|
||||
with:
|
||||
message: |
|
||||
Running a `helm template` smoketest on this branch results in the following diff against `${{ github.base_ref }}`:
|
||||
|
||||
Reference in New Issue
Block a user