Skip to content

Commit

Permalink
Minor changes prior to release (PlasmaPy#2496)
Browse files Browse the repository at this point in the history
* Rename GitHub Actions

* Regenerate pinned requirements

* pre-commit autoupdate
  • Loading branch information
namurphy authored Feb 6, 2024
1 parent d8b6e2d commit 41adfd4
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/add-no-changelog-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
types: [opened, synchronize, reopened, edited]

jobs:
labeler:
no-changelog:
name: Add no changelog label
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/check-author-included.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Check author list
name: Check metadata

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
authors-included:
name: Author in CITATION.cff
runs-on: ubuntu-latest
steps:

Expand All @@ -15,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Install dependencies
run: pip install requests
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/comment-on-pr.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Add comment to pull request
name: Add comment

on:
pull_request_target:
types: [opened]

jobs:
comment:
name: Welcome message
# Skip posting this comment for frequent contributors
if: "!contains(fromJSON('[''namurphy'', ''rocco8773'', ''StanczakDominik'', ''dependabot'', ''plasmapy-requirements-bot'', ''pre-commit-ci'']'), github.event.pull_request.user.login)"
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/create-release-issue.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create issue with release checklist
name: Create issue

on:
workflow_dispatch:
Expand All @@ -8,7 +8,8 @@ on:
required: true

jobs:
create-issue:
release-checklist:
name: Release checklist
runs-on: ubuntu-latest

steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Label pull request
name: Label PR

# The labels to be added are defined in .github/labeler.yml

Expand All @@ -7,6 +7,7 @@ on:

jobs:
labeler:
name: Add labels
permissions:
contents: read
pull-requests: write
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: linkcheck
name: Check hyperlinks

on:
schedule:
Expand All @@ -12,6 +12,7 @@ on:
jobs:

linkcheck:
name: Documentation linkcheck
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'perform linkcheck in CI')

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: 3.12

- name: Install dependencies
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-pinned-reqs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
update-requirements:
name: Regenerate requirements.txt
runs-on: ubuntu-latest
if: github.repository == 'PlasmaPy/PlasmaPy'

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ repos:
- tomli

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.0
rev: v0.2.1
hooks:
- id: ruff
name: ruff (see https://docs.astral.sh/ruff/rules)
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --all-extras --output-file=requirements.txt
Expand Down Expand Up @@ -96,7 +96,7 @@ future==0.18.3
# via uncertainties
h5py==3.10.0
# via plasmapy (setup.py)
hypothesis==6.98.1
hypothesis==6.98.2
# via plasmapy (setup.py)
identify==2.5.33
# via pre-commit
Expand Down

0 comments on commit 41adfd4

Please sign in to comment.