Integration Test Nonexistent Repo #702
Workflow file for this run
This file contains 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
# Workflow to check that a repository meets compliance requirements | |
# This workflow will be applied to all public repositories | |
name: Existing Repository Compliance | |
on: | |
pull_request: | |
branches: '**' | |
merge_group: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
check-accepting-external-contributions: | |
name: Check if repository is compliant | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check if accepting external contributions | |
id: accepts_external_contrib | |
uses: ./.github/actions/check_external_contrib/ | |
- name: Check if repository is compliant | |
id: check-compliance | |
if: steps.accepts_external_contrib.outputs.accepts_contrib == 'true' | |
uses: ./.github/actions/check_compliance/ | |
with: | |
github-token: ${{ secrets.COMPLIANCE_READ_REPO_PERMISSIONS }} |