Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ updates:
interval: monthly
labels:
- "Dependencies"
cooldown:
default-days: 1
- package-ecosystem: uv
directory: /
schedule:
interval: monthly
labels:
- "Dependencies"
cooldown:
default-days: 1
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ concurrency:
jobs:
ci:
name: CI
uses: praw-dev/.github/.github/workflows/ci.yml@aa63811572338b6343772c542574909f1cbd8d78 # v1.5.0
uses: praw-dev/.github/.github/workflows/ci.yml@ec3a733628adc5bd596def5294dae9fb4eb1e501 # v1.6.0
with:
min_python: "3.10"
python_versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
Expand All @@ -14,4 +14,5 @@ on:
push:
branches: ["main"]
pull_request:
permissions: read-all
permissions:
contents: read
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: Lint workflows
permissions:
contents: read # required to check out the repository
uses: praw-dev/.github/.github/workflows/lint.yml@aa63811572338b6343772c542574909f1cbd8d78 # v1.5.0
uses: praw-dev/.github/.github/workflows/lint.yml@ec3a733628adc5bd596def5294dae9fb4eb1e501 # v1.6.0
name: Lint workflows
on:
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit_autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
uses: praw-dev/.github/.github/workflows/pre-commit_autoupdate.yml@aa63811572338b6343772c542574909f1cbd8d78 # v1.5.0
uses: praw-dev/.github/.github/workflows/pre-commit_autoupdate.yml@ec3a733628adc5bd596def5294dae9fb4eb1e501 # v1.6.0
name: Update pre-commit hooks
on:
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
uses: praw-dev/.github/.github/workflows/prepare_release.yml@aa63811572338b6343772c542574909f1cbd8d78 # v1.5.0
uses: praw-dev/.github/.github/workflows/prepare_release.yml@ec3a733628adc5bd596def5294dae9fb4eb1e501 # v1.6.0
with:
package: codesorter
version: ${{ inputs.version }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
concurrency:
group: pypi-${{ github.ref }}
cancel-in-progress: false
jobs:
pypi-publish:
environment: release
name: Upload release to PyPI
permissions:
id-token: write
id-token: write # required for PyPI trusted publishing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@ on:
- cron: '36 1 * * 3'
push:
branches: ["main"]
permissions: read-all
concurrency:
group: scorecard-${{ github.ref }}
cancel-in-progress: true
# No workflow-level permissions; the analysis job grants its own.
permissions: {}
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
security-events: write # upload results to the code-scanning dashboard
id-token: write # publish results and get a badge (see publish_results below)
steps:
- name: "Checkout code"
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
permissions:
issues: write # required to comment on and close stale issues
pull-requests: write # required to comment on and close stale PRs
uses: praw-dev/.github/.github/workflows/stale_action.yml@aa63811572338b6343772c542574909f1cbd8d78 # v1.5.0
uses: praw-dev/.github/.github/workflows/stale_action.yml@ec3a733628adc5bd596def5294dae9fb4eb1e501 # v1.6.0
name: Close stale issues and PRs
on:
schedule:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ jobs:
name: Tag Release
permissions:
contents: write # required to push the release tag
uses: praw-dev/.github/.github/workflows/tag_release.yml@aa63811572338b6343772c542574909f1cbd8d78 # v1.5.0
uses: praw-dev/.github/.github/workflows/tag_release.yml@ec3a733628adc5bd596def5294dae9fb4eb1e501 # v1.6.0