Testing creating issues #8
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
name: Create issue for push to prod | |
on: | |
# schedule: | |
# # Runs every two weeks on Monday at 9:00 AM | |
# - cron: "0 9 */14 * *" | |
pull_request: | |
jobs: | |
create_issue: | |
# permissions: write-all | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create issue | |
env: | |
label: "push to prod" | |
title: ":rocket: Deploy to production: ${{ github.event.repository.updated_at }}" | |
body: "Deploy to production: ${{ github.event.repository.updated_at }}" | |
run: | | |
gh issue create --title "$title" --body "$body" --label "$label" |