diff --git a/.github/labeler.yml b/.github/labeler.yml index dfcbd4e..6fe7c77 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,42 +1,64 @@ doc: - - .github/**/*.md - - .readthedocs.yaml - - docs/**/* - - licenses/* - - CITATION - - '*.md' - - any: ['*.rst', '!CHANGES.rst'] +- changed-files: + - any-glob-to-any-file: + - .github/**/*.md + - .readthedocs.yaml + - docs/**/* + - licenses/* + - CITATION + - '*.md' + - all-globs-to-any-file: + - '*.rst' + - '!CHANGES.rst' testing: - - .github/**/*.yml - - conftest.py - - stginga/tests/* +- changed-files: + - any-glob-to-any-file: + - .github/**/*.yml + - conftest.py + - stginga/tests/* BackgroundSub: - - stginga/plugins/BackgroundSub.py +- changed-files: + - any-glob-to-any-file: + - stginga/plugins/BackgroundSub.py BadPixCorr: - - stginga/plugins/BadPixCorr.py +- changed-files: + - any-glob-to-any-file: + - stginga/plugins/BadPixCorr.py DQInspect: - - stginga/data/* - - stginga/plugins/DQInspect.py +- changed-files: + - any-glob-to-any-file: + - stginga/data/* + - stginga/plugins/DQInspect.py IPython Notebook: - - experimental/notebooks/* +- changed-files: + - any-glob-to-any-file: + - experimental/notebooks/* MosaicAuto: - - stginga/plugins/MosaicAuto.py +- changed-files: + - any-glob-to-any-file: + - stginga/plugins/MosaicAuto.py MultiImage: - - experimental/plugins/MIPick.py - - experimental/plugins/MultiImage.py +- changed-files: + - any-glob-to-any-file: + - experimental/plugins/MIPick.py + - experimental/plugins/MultiImage.py Smoothing: - - experimental/plugins/Smoothing.py +- changed-files: + - any-glob-to-any-file: + - experimental/plugins/Smoothing.py SNRCalc: - - stginga/plugins/SNRCalc.py +- changed-files: + - any-glob-to-any-file: + - stginga/plugins/SNRCalc.py utils: - stginga/utils.py diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index 9245a2c..be5545b 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 e87bb21..f4c0040 100644 --- a/.github/workflows/open_actions.yml +++ b/.github/workflows/open_actions.yml @@ -13,12 +13,12 @@ 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 }}" - 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 }}