Attempt to create a workflow for updating docs #1
Workflow file for this run
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
# 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`. |