[llvm] Reapply [workflows] Split pr-code-format into two parts to make it more secure (#78215) (PR #80495)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 3 23:44:19 PST 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
----------------
boomanaiden154 wrote:
Why is this version different than the upload artifact action in the `pull_request` job? 4.3.0 vs 4.1.1.
https://github.com/llvm/llvm-project/pull/80495
More information about the llvm-commits
mailing list