Skip to content
Open
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
7 changes: 4 additions & 3 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/sunpy/package-template",
"commit": "4ba8b7c6a6bf4f51f7154978ae8d2f3710ef89e5",
"commit": "9fff6e66fecd5ab2ed7fefbc0687791e83f46a8a",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down Expand Up @@ -31,10 +31,11 @@
"_install_requires": "",
"_copy_without_render": [
"docs/_templates",
"docs/_static"
"docs/_static",
".github/workflows/zizmor.yml"
],
"_template": "https://github.com/sunpy/package-template",
"_commit": "4ba8b7c6a6bf4f51f7154978ae8d2f3710ef89e5"
"_commit": "9fff6e66fecd5ab2ed7fefbc0687791e83f46a8a"
}
},
"directory": null
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ permissions: {}
jobs:
core:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
permissions:
id-token: write
with:
submodules: false
coverage: codecov
coverage: codecov-oidc
toxdeps: tox-pypi-filter
envs: |
- linux: py313-minimal
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

sdist_verify:
runs-on: ubuntu-latest
Expand All @@ -51,9 +51,11 @@ jobs:
test:
needs: [core, sdist_verify]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
permissions:
id-token: write
with:
submodules: false
coverage: codecov
coverage: codecov-oidc
toxdeps: tox-pypi-filter
posargs: -n auto
envs: |
Expand All @@ -62,8 +64,6 @@ jobs:
- macos: py312
- linux: py311-oldestdeps
- linux: asdf_schemas
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

docs:
needs: [core]
Expand Down Expand Up @@ -93,14 +93,14 @@ jobs:
)
needs: [core]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@8c8bb6c6c962542921f993d47d26df38dccd50b1 # v3.0.2
permissions:
id-token: write
with:
submodules: false
toxdeps: tox-pypi-filter
coverage: codecov
coverage: codecov-oidc
envs: |
- linux: py314-devdeps
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

build_dists:
# Build wheels on PRs only when labelled. Releases will only be published if tagged ^v.*
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: GitHub Actions Security Analysis with zizmor

on:
push:
branches: ["main"]
pull_request:
branches: ["**"]

permissions: {}

jobs:
zizmor:
runs-on: ubuntu-latest
permissions:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Run zizmor 🌈
uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
4 changes: 0 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
repos:
- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.28.0
hooks:
- id: zizmor
# This should be before any formatting hooks like isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.16.1"
Expand Down
Loading