-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1.04 KB
/
createIssue.yml
File metadata and controls
35 lines (32 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.
name: Daily Algorithms
on:
schedule:
- cron: 05 16 * * *
workflow_dispatch:
jobs:
create_issue:
name: Create algorithms issue
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Today's date
run: echo "TODAY=$(TZ=UTC-8 date '+%Y-%m-%d')" >> $GITHUB_ENV
- name: Create algorithms issue
uses: imjohnbo/issue-bot@3daae12aa54d38685d7ff8459fc8a2aee8cea98b
with:
assignees: ""
labels: "Daily Algorithms"
title: "${{ env.TODAY }}"
body: ""
pinned: false
close-previous: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}