Testing creating issues #3
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: | |
repository-projects: write | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create issue | |
env: | |
project: "Data Catalogue" | |
label: "deployment" | |
title: ":rocket: Deploy to production: ${{ github.event.repository.updated_at }}" | |
body: "Deploy to production: ${{ github.event.repository.updated_at }}" | |
run: | | |
gh issue create --project "$project" --title "$title" --body "$body" --label "$label" |