diff --git a/.github/labeler.yml b/.github/labeler.yml index 7c6ad73..2407ce6 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,43 +1,61 @@ docs: - - .github/**/*.md - - .readthedocs.yaml - - doc/**/* - - '*.md' - - any: ['*.rst', '!CHANGES.rst'] +- changed-files: + - any-glob-to-any-file: + - .github/**/*.md + - .readthedocs.yaml + - doc/**/* + - '*.md' + - all-globs-to-any-file: + - '*.rst' + - '!CHANGES.rst' testing: - - .bandit.yaml - - .github/**/*.yml - - conftest.py - - acstools/tests/**/* - - Jenkinsfile - - JenkinsfileRT +- changed-files: + - any-glob-to-any-file: + - .bandit.yaml + - .github/**/*.yml + - conftest.py + - acstools/tests/**/* CALACS: - - acstools/acs2d.py - - acstools/acsccd.py - - acstools/acscteforwardmodel.py - - acstools/acscte.py - - acstools/acsrej.py - - acstools/acssum.py - - acstools/calacs.py - - acstools/utils_calib.py +- changed-files: + - any-glob-to-any-file: + - acstools/acs2d.py + - acstools/acsccd.py + - acstools/acscteforwardmodel.py + - acstools/acscte.py + - acstools/acsrej.py + - acstools/acssum.py + - acstools/calacs.py + - acstools/utils_calib.py CTE: - - acstools/acscteforwardmodel.py - - acstools/acscte.py - - acstools/acsphotcte.py +- changed-files: + - any-glob-to-any-file: + - acstools/acscteforwardmodel.py + - acstools/acscte.py + - acstools/acsphotcte.py Destripe: - - acstools/acs_destripe_plus.py - - acstools/acs_destripe.py +- changed-files: + - any-glob-to-any-file: + - acstools/acs_destripe_plus.py + - acstools/acs_destripe.py Polarization: - - acstools/polarization_tools.py - - acstools/data/polarizer_tables.yaml +- changed-files: + - any-glob-to-any-file: + - acstools/polarization_tools.py + - acstools/data/polarizer_tables.yaml Satellite Detection: - - acstools/satdet.py +- changed-files: + - any-glob-to-any-file: + - acstools/satdet.py + - acstools/findsat_mrt.py + - acstools/utils_findsat_mrt.py Zeropoints: - - acstools/acszpt.py +- changed-files: + - any-glob-to-any-file: + - acstools/acszpt.py diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index 2f780d3..fe8202e 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check base branch - uses: actions/github-script@v6 + uses: actions/github-script@v7 if: github.event_name == 'pull_request' with: script: | diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 85a5501..fae9e15 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -41,7 +41,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -52,7 +52,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -66,4 +66,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/open_actions.yml b/.github/workflows/open_actions.yml index 6b88140..5456370 100644 --- a/.github/workflows/open_actions.yml +++ b/.github/workflows/open_actions.yml @@ -17,13 +17,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Label PR - uses: actions/labeler@v4 + uses: actions/labeler@v5 if: github.event_name == 'pull_request_target' || github.event_name == 'pull_request' with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: '' - name: 'Comment Draft PR' - uses: actions/github-script@v6 + uses: actions/github-script@v7 if: github.event.pull_request.draft == true with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 26032ab..e496189 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -36,7 +36,7 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11'