[WIP, DO NOT MERGE] Gate Private CI workflow on workflow authorization #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright lowRISC contributors (OpenTitan project). | |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: PR Auth Gate | |
| on: | |
| pull_request: | |
| push: | |
| branches-ignore: | |
| - "backport-*" | |
| - "gh-readonly-queue/**" | |
| tags: | |
| - "*" | |
| jobs: | |
| gate: | |
| runs-on: ubuntu-latest | |
| # To run and succeed this gate job, any fork pull requests must have | |
| # approval from some user with write access, so just instantly succeed. | |
| steps: | |
| - run: echo "Auth Gate Passed" |