[llvm] Reapply [workflows] Split pr-code-format into two parts to make it more secure (#78215) (PR #80495)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 21 10:41:18 PDT 2024
================
@@ -0,0 +1,122 @@
+name: Comment on an issue
+
+on:
+ workflow_run:
+ workflows: ["Check code formatting"]
+ types:
+ - completed
+
+permissions:
+ contents: read
+
+jobs:
+ pr-comment:
+ runs-on: ubuntu-latest
+ permissions:
+ pull-requests: write
+ if: >
+ github.event.workflow_run.event == 'pull_request'
+ steps:
+ - name: 'Download artifact'
+ uses: actions/download-artifact at 6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
----------------
tstellar wrote:
Those two actions are versioned differently.
https://github.com/llvm/llvm-project/pull/80495
More information about the llvm-commits
mailing list