Skip to content

Commit

Permalink
Merge pull request #251 from spacetelescope/revert-248-action-ver-hash
Browse files Browse the repository at this point in the history
Revert "MNT: Use hash for Action workflow versions and update if needed"
  • Loading branch information
pllim authored Sep 28, 2024
2 parents 5bcdaec + 1c35bf5 commit 0391f19
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_buildondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ on:

jobs:
ExecuteNotebooks:
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_scheduled.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_scheduled.yml@multi_dev
with:
python-version: ${{ vars.PYTHON_VERSION }}
2 changes: 1 addition & 1 deletion .github/workflows/ci_execute_merge_generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ on:

jobs:
GenerateHTML:
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_build_merge_manual.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_build_merge_manual.yml@v3
with:
python-version: ${{ vars.PYTHON_VERSION }}
2 changes: 1 addition & 1 deletion .github/workflows/ci_execute_single.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
GenerateHTML:
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_execute_single.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_execute_single.yml@multi_dev
with:
python-version: ${{ vars.PYTHON_VERSION }}
filename: ${{ github.event.inputs.filename }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci_html_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -38,10 +38,10 @@ jobs:
notebook: ${{fromJson(needs.prepare_matrix.outputs.matrix)}}

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
uses: actions/setup-python@v3
with:
python-version: ${{ vars.PYTHON_VERSION }}

Expand Down Expand Up @@ -93,10 +93,10 @@ jobs:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@v4

- name: Set up Python ${{ vars.PYTHON_VERSION }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
uses: actions/setup-python@v5
with:
python-version: ${{ vars.PYTHON_VERSION }}

Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
2 changes: 1 addition & 1 deletion .github/workflows/ci_manual_html_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ on:

jobs:
GenerateHTML:
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_builder_manual_jdat.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_builder_manual_jdat.yml@v3
with:
python-version: ${{ vars.PYTHON_VERSION }}
2 changes: 1 addition & 1 deletion .github/workflows/ci_manual_single_merge_generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
GenerateHTML:
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_build_merge_manual_single.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_build_merge_manual_single.yml@v3
with:
python-version: ${{ vars.PYTHON_VERSION }}
filename: ${{ github.event.inputs.filename }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ on:

jobs:
Scheduled:
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_scheduled.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_scheduled.yml@v3
with:
python-version: ${{ vars.PYTHON_VERSION }}
2 changes: 1 addition & 1 deletion .github/workflows/ci_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:

jobs:
NotebookExecutionValidation:
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_runner.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_runner.yml@v4
with:
python-version: ${{ vars.PYTHON_VERSION || '3.11' }}
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_security_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ on:

jobs:
Scheduled:
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_security_scan.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/ci_security_scan.yml@v3
2 changes: 1 addition & 1 deletion .github/workflows/pep8_nb_style_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ on:

jobs:
Notebook_PEP8_Check:
uses: spacetelescope/notebook-ci-actions/.github/workflows/notebook_pep8check.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/notebook_pep8check.yml@v3
with:
python-version: ${{ vars.PYTHON_VERSION || '3.11'}}
2 changes: 1 addition & 1 deletion .github/workflows/pep8_script_style_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ on:

jobs:
Script_PEP8_Check:
uses: spacetelescope/notebook-ci-actions/.github/workflows/script_pep8check.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/script_pep8check.yml@v3
with:
python-version: ${{ vars.PYTHON_VERSION || '3.11' }}
2 changes: 1 addition & 1 deletion .github/workflows/weekly_broken_link_finder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ on:

jobs:
Scheduled:
uses: spacetelescope/notebook-ci-actions/.github/workflows/broken_link_checker.yml@0ea14fcf22bfa36f86d7a9500003bf6454e6f2e5 # main
uses: spacetelescope/notebook-ci-actions/.github/workflows/broken_link_checker.yml@v3
with:
website_url: "https://spacetelescope.github.io/jdat_notebooks/"

0 comments on commit 0391f19

Please sign in to comment.