From 1c35bf5a2ddf298f4b4ef7cd1b2e5465d7a34b50 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Fri, 27 Sep 2024 20:55:49 -0400 Subject: [PATCH] Revert "MNT: Use hash for Action workflow versions and update if needed" --- .github/workflows/ci_buildondemand.yml | 2 +- .github/workflows/ci_execute_merge_generate.yml | 2 +- .github/workflows/ci_execute_single.yml | 2 +- .github/workflows/ci_html_build.yml | 12 ++++++------ .github/workflows/ci_manual_html_deploy.yml | 2 +- .../workflows/ci_manual_single_merge_generate.yml | 2 +- .github/workflows/ci_nightly.yml | 2 +- .github/workflows/ci_runner.yml | 2 +- .github/workflows/ci_security_scan.yml | 2 +- .github/workflows/pep8_nb_style_check.yml | 2 +- .github/workflows/pep8_script_style_check.yml | 2 +- .github/workflows/weekly_broken_link_finder.yml | 2 +- 12 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci_buildondemand.yml b/.github/workflows/ci_buildondemand.yml index f23732fb3..73df221ea 100644 --- a/.github/workflows/ci_buildondemand.yml +++ b/.github/workflows/ci_buildondemand.yml @@ -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 }} diff --git a/.github/workflows/ci_execute_merge_generate.yml b/.github/workflows/ci_execute_merge_generate.yml index 43e7a0d25..ee0451744 100644 --- a/.github/workflows/ci_execute_merge_generate.yml +++ b/.github/workflows/ci_execute_merge_generate.yml @@ -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 }} diff --git a/.github/workflows/ci_execute_single.yml b/.github/workflows/ci_execute_single.yml index e02ca21ea..7a1ea6216 100644 --- a/.github/workflows/ci_execute_single.yml +++ b/.github/workflows/ci_execute_single.yml @@ -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 }} diff --git a/.github/workflows/ci_html_build.yml b/.github/workflows/ci_html_build.yml index c3c02f913..d45a2a10f 100644 --- a/.github/workflows/ci_html_build.yml +++ b/.github/workflows/ci_html_build.yml @@ -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 }} @@ -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 }} @@ -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 }} @@ -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 diff --git a/.github/workflows/ci_manual_html_deploy.yml b/.github/workflows/ci_manual_html_deploy.yml index 034b688a1..80ef642e9 100644 --- a/.github/workflows/ci_manual_html_deploy.yml +++ b/.github/workflows/ci_manual_html_deploy.yml @@ -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 }} diff --git a/.github/workflows/ci_manual_single_merge_generate.yml b/.github/workflows/ci_manual_single_merge_generate.yml index f65fd6017..7b578438c 100644 --- a/.github/workflows/ci_manual_single_merge_generate.yml +++ b/.github/workflows/ci_manual_single_merge_generate.yml @@ -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 }} diff --git a/.github/workflows/ci_nightly.yml b/.github/workflows/ci_nightly.yml index 626991566..c780b6a89 100644 --- a/.github/workflows/ci_nightly.yml +++ b/.github/workflows/ci_nightly.yml @@ -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 }} diff --git a/.github/workflows/ci_runner.yml b/.github/workflows/ci_runner.yml index 59f214810..088fc05ee 100644 --- a/.github/workflows/ci_runner.yml +++ b/.github/workflows/ci_runner.yml @@ -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: diff --git a/.github/workflows/ci_security_scan.yml b/.github/workflows/ci_security_scan.yml index 1e38d15dc..e162c07e5 100644 --- a/.github/workflows/ci_security_scan.yml +++ b/.github/workflows/ci_security_scan.yml @@ -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 diff --git a/.github/workflows/pep8_nb_style_check.yml b/.github/workflows/pep8_nb_style_check.yml index 712bf32aa..4494e4d1a 100644 --- a/.github/workflows/pep8_nb_style_check.yml +++ b/.github/workflows/pep8_nb_style_check.yml @@ -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'}} diff --git a/.github/workflows/pep8_script_style_check.yml b/.github/workflows/pep8_script_style_check.yml index 2209c1d3a..89f6e4032 100644 --- a/.github/workflows/pep8_script_style_check.yml +++ b/.github/workflows/pep8_script_style_check.yml @@ -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' }} diff --git a/.github/workflows/weekly_broken_link_finder.yml b/.github/workflows/weekly_broken_link_finder.yml index ff8acad79..21b0a6e3b 100644 --- a/.github/workflows/weekly_broken_link_finder.yml +++ b/.github/workflows/weekly_broken_link_finder.yml @@ -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/"