Skip to content

Testing creating issues #6

Testing creating issues

Testing creating issues #6

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: "deployment"
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"