-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to create a workflow for updating docs
- Loading branch information
1 parent
a26ce11
commit 51a47a6
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# The TuringLang/docs repository needs to be updated when a new version of | ||
# Turing.jl is released. | ||
# This action creates an issue in the TuringLang/docs repository to remind | ||
# someone to do it. | ||
|
||
name: Create issue to update TuringLang/docs | ||
|
||
on: | ||
release: | ||
types: [published] | ||
# Delete this before opening PR | ||
push: | ||
branches: | ||
- pysm/version-bump-gha | ||
|
||
jobs: | ||
create_issue: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create issue | ||
uses: dacbd/create-issue-action@main | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
title: Update Turing.jl version to ${{ github.ref_name }} | ||
owner: TuringLang | ||
repo: docs | ||
body: | | ||
A new version of Turing.jl has been released. | ||
If this is a patch release (e.g. x.y.z -> x.y.z+1), you only need to update the `Manifest.toml` file in the repository. | ||
If this is a new major/minor version (e.g. x.y.z -> x.y+1.0), you need to also update the version numbers in `_quarto.yml` and `Project.toml`. |