Skip to content

Commit

Permalink
Fix bugs in workflow (sunpy#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair authored Feb 19, 2024
1 parent ae1d2ad commit fc4ebc4
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
# │ │ ┌───────── day of the month (1 - 31)
# │ │ │ ┌───────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)
- cron: '0 7 * 1 *' # Every Monday at 7am UTC
- cron: '0 7 * * 1' # Every Monday at 7am UTC

jobs:
update:
Expand All @@ -35,11 +35,11 @@ jobs:
title: Reject new updates from package template

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"

- name: Install Cruft
run: python -m pip install cruft
Expand All @@ -66,11 +66,11 @@ jobs:
git config --global user.name "${{ github.actor }}"
cruft update --skip-apply-ask --refresh-private-variables
git restore --staged
git restore --staged .
- name: Create pull request
if: steps.check.output.has_changes == '1'
uses: peter-evans/create-pull-request@v4
if: steps.check.outputs.has_changes == '1'
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
add-paths: ${{ matrix.add-paths }}
Expand Down

0 comments on commit fc4ebc4

Please sign in to comment.