Monthly Release Thread #37
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
# Workflow to create a github issue every month to facilitate comment based releases | |
name: Monthly Release Thread | |
on: | |
schedule: | |
- cron: 0 0 1 * * # Every 1st day of the month at 0000 – https://crontab.guru | |
jobs: | |
monthly_release: | |
runs-on: ubuntu-latest | |
steps: | |
# Repo code checkout required if `template` is used | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Get current month for issue title | |
- name: get-date | |
id: date | |
run: echo "::set-output name=date::$(date +'%B %Y')" | |
# Create, pin, label, and assign release issue | |
- name: create-issue | |
id: issue | |
uses: imjohnbo/issue-bot@v2 | |
with: | |
pinned: true | |
close-previous: true | |
title: "RELEASE THREAD: ${{ steps.date.outputs.date }}" | |
template: ".github/RELEASE_TEMPLATE.md" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |