-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'aryan_valid_pag' of github.com:aryan26roy/pywhy-graphs …
…into aryan_valid_pag
- Loading branch information
Showing
3 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
name: CircleCI artifacts redirector | ||
on: [status] | ||
|
||
# Restrict the permissions granted to the use of secrets.GITHUB_TOKEN in this | ||
# github actions workflow: | ||
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication | ||
permissions: read-all | ||
|
||
jobs: | ||
circleci_artifacts_redirector_job: | ||
if: "${{ startsWith(github.event.context, 'ci/circleci: build_doc') }}" | ||
runs-on: ubuntu-20.04 | ||
if: "github.repository == 'py-why/pywhy-graphs' && github.event.context == 'ci/circleci: build_doc'" | ||
permissions: | ||
statuses: write | ||
name: Run CircleCI artifacts redirector | ||
steps: | ||
- name: GitHub Action step | ||
uses: larsoner/circleci-artifacts-redirector-action@master | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
api-token: ${{ secrets.CIRCLECI_TOKEN }} | ||
artifact-path: 0/dev/index.html | ||
circleci-jobs: build_doc | ||
job-title: Check the rendered docs here! | ||
|
||
- name: Check the URL | ||
if: github.event.status != 'pending' | ||
run: | | ||
curl --fail ${{ steps.step1.outputs.url }} | grep $GITHUB_SHA |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,7 @@ doc = [ | |
'graphviz', | ||
'pygraphviz', | ||
'pgmpy', | ||
'dowhy', | ||
] | ||
style = [ | ||
"pre-commit", | ||
|