Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing creating issues #807

Merged
merged 18 commits into from
Sep 10, 2024
Merged
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/prod-deploys-create-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Create issue for push to prod
on:
schedule:
# Runs every two weeks on Monday at 9:00 AM
murdo-moj marked this conversation as resolved.
Show resolved Hide resolved
- cron: "0 9 */14 * *"
murdo-moj marked this conversation as resolved.
Show resolved Hide resolved

jobs:
create_issue:
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 }}"
murdo-moj marked this conversation as resolved.
Show resolved Hide resolved
run: |
gh issue create --title "$title" --body "$body" --label "$label"
murdo-moj marked this conversation as resolved.
Show resolved Hide resolved