summaryrefslogtreecommitdiff
path: root/.github/workflows/label-public-pr.yml
diff options
context:
space:
mode:
authorDaniel Tipping <daniel@oldreliable.tech>2023-05-04 12:11:55 +0100
committerGitHub <noreply@github.com>2023-05-04 12:11:55 +0100
commit0ad7f77f83e5b66fa5e048328cf254f79e6fcd51 (patch)
tree880d1851f8f76064e11f4986032e9b7d411c9ccf /.github/workflows/label-public-pr.yml
parent9b882a8f14495652c6fcc5d0eb0bd3de60e4bea8 (diff)
Allow CI to access secrets once PR is approved (#75)upstream/latest
* Auto-format with prettier v2.8.8 * Allow CI to access secrets once PR is approved
Diffstat (limited to '.github/workflows/label-public-pr.yml')
-rw-r--r--.github/workflows/label-public-pr.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/label-public-pr.yml b/.github/workflows/label-public-pr.yml
new file mode 100644
index 0000000..59b2bfa
--- /dev/null
+++ b/.github/workflows/label-public-pr.yml
@@ -0,0 +1,10 @@
+# Manage labels of pull requests that originate from forks
+name: label-public-pr
+
+on:
+ pull_request_target:
+ types: [opened, synchronize]
+
+jobs:
+ label:
+ uses: ecmwf-actions/reusable-workflows/.github/workflows/label-pr.yml@v2