d30b187f7d
- Update the GitHub workflow actions to their latest versions. - Use the latest Node.js LTS release. - Use the latest Ubuntu version for consistency across all workflows. - The `set-output` command is deprecated and will soon be disabled (https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/) so use the new recommended way. - Use the `$()` expressions for string interpolation instead of the deprecated backticks in Bash. - Format the YAML files. Differential Revision: https://reviews.llvm.org/D143015
20 lines
487 B
YAML
20 lines
487 B
YAML
name: 'Repo Lockdown'
|
|
on:
|
|
pull_request_target:
|
|
types: opened
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
action:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'llvm/llvm-project'
|
|
steps:
|
|
- uses: dessant/repo-lockdown@v3
|
|
with:
|
|
process-only: 'prs'
|
|
pr-comment: >
|
|
This repository does not accept pull requests.
|
|
Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.
|