Skip to content

Commit

Permalink
Attempt to create a workflow for updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Sep 2, 2024
1 parent a26ce11 commit 51a47a6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/CreateDocsIssue.yml
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`.

0 comments on commit 51a47a6

Please sign in to comment.