Pin GHA workflows and add dependabot to keep them up to date (#6497)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Nate Prewitt · committed by GitHub · parent 34a64bc · Browse files · 5 files·+21 added−10 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
5 files+21 added−10 removed
- other:+21 added−10 removed
Provenance
- Commit
2c193bd- Tree
d95d4d4- Author
Nate Prewitt <nate.prewitt@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
34a64bc
5 files changed+21 added−10 removed
modified:.github/workflows/codeql-analysis.yml+4 added-4 removed
30 unmodified lines313233343535363738394 unmodified lines444546474848495051522 unmodified lines555657585959606162635 unmodified lines69707172737330 unmodified lines
steps: - name: Checkout repository uses: actions/checkout@v2 uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. fetch-depth: 24 unmodified lines if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1 uses: github/codeql-action/init@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39 with: languages: "python" # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file.2 unmodified lines
# 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@v1 uses: github/codeql-action/autobuild@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
# ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl
5 unmodified lines # make bootstrap # make release
- name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 uses: github/codeql-action/analyze@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39modified:.github/workflows/lint.yml+3 added-3 removed
9 unmodified lines10111213141415161617181920209 unmodified lines runs-on: ubuntu-20.04 timeout-minutes: 10
steps: - uses: actions/checkout@v3 - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Set up Python uses: actions/setup-python@v4 uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0 with: python-version: "3.x" - name: Run pre-commit uses: pre-commit/action@v3.0.0 uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0modified:.github/workflows/lock-issues.yml+1 added-1 removed
11 unmodified lines12131415161617181911 unmodified lines action: if: github.repository_owner == 'psf' runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v3 - uses: dessant/lock-threads@e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6 # v3.0.0 with: issue-lock-inactive-days: 90 pr-lock-inactive-days: 90modified:.github/workflows/run-tests.yml+2 added-2 removed
19 unmodified lines202122232424252626272829304 unmodified lines19 unmodified lines - python-version: pypy-3.7 os: ubuntu-latest
steps: - uses: actions/checkout@v2 - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: |4 unmodified linesadded:.github/dependabot.yml+11 added
1234567891011version: 2updates: - package-ecosystem: github-actions directory: / schedule: interval: weekly ignore: # Ignore all patch releases as we can manually # upgrade if we run into a bug and need a fix. - dependency-name: "*" update-types: ["version-update:semver-patch"]