Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed status checks on protected branches. #962

Merged
merged 1 commit into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ on:
push:
paths-ignore:
- '.github/workflows/deploy-site.yml'
- '.github/workflows/update-copyright-year.yml'
- '.github/workflows/update-cuda-versions.yml'
- 'Docs/**'
- 'Site/**'
pull_request:
paths-ignore:
- '.github/workflows/deploy-site.yml'
- '.github/workflows/update-copyright-year.yml'
- '.github/workflows/update-cuda-versions.yml'
- 'Docs/**'
- 'Site/**'
schedule:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ on:
branches: [ master ]
paths-ignore:
- '.github/workflows/deploy-site.yml'
- '.github/workflows/update-copyright-year.yml'
- '.github/workflows/update-cuda-versions.yml'
- 'Docs/**'
- 'Site/**'
pull_request:
# The branches below must be a subset of the branches above.
branches: [ master ]
paths-ignore:
- '.github/workflows/deploy-site.yml'
- '.github/workflows/update-copyright-year.yml'
- '.github/workflows/update-cuda-versions.yml'
- 'Docs/**'
- 'Site/**'
schedule:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@ jobs:
uses: actions/upload-pages-artifact@v1
##### GitHub Pages #####

all-required-checks-done:
needs:
- build
runs-on: ubuntu-latest
steps:
- run: echo "All required checks done"

deploy: # Deployment job
if: github.event_name != 'pull_request' # Skip deployment when building pull requests.
environment:
Expand Down