Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Bump

Bump #47

Workflow file for this run

name: Bump
on:
schedule:
- cron: "0 0 01 * *"
- cron: "0 0 14 * *"
# test changes to this file itself
pull_request:
paths:
- .github/workflows/bump.yml
jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: bump
run: ./bin/new-snapshot
- if: ${{ steps.bump.outputs.bumped == 'true' }}
uses: peter-evans/create-pull-request@v3
with:
# Use PAT so this will trigger test/lint on the created PR
token: ${{ secrets.FRECKLE_AUTOMATION_GITHUB_TOKEN }}
base: main
add-paths: ${{ steps.bump.outputs.path }}
commit-message: 'Create ${{ steps.bump.outputs.to }} Snapshot'
title: 'Create ${{ steps.bump.outputs.to }} Snapshot'
body: |
This PR was created automatically because a new LTS was available.
See [here][readme] for more details.
For a list of changed packages, see [here][rcl].
[readme]: https://github.com/freckle/stackage-snapshots#creating-a-new-snapshot
[rcl]: https://rcl.freckle.com/?from=${{ steps.bump.outputs.from }}&to=${{ steps.bump.outputs.to }}