|
| 1 | +#/ |
| 2 | +# @license Apache-2.0 |
| 3 | +# |
| 4 | +# Copyright (c) 2025 The Stdlib Authors. |
| 5 | +# |
| 6 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | +# you may not use this file except in compliance with the License. |
| 8 | +# You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, software |
| 13 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | +# See the License for the specific language governing permissions and |
| 16 | +# limitations under the License. |
| 17 | +#/ |
| 18 | + |
| 19 | +# Workflow name: |
| 20 | +name: weekly_standup |
| 21 | + |
| 22 | +# Workflow triggers: |
| 23 | +on: |
| 24 | + # Run this workflow weekly: |
| 25 | + schedule: |
| 26 | + # cron: '<minutes> <hours> <day_of_month> <month> <day_of_week>' |
| 27 | + - cron: '0 0 * * 1' |
| 28 | + |
| 29 | + # Allow the workflow to be manually run: |
| 30 | + workflow_dispatch: |
| 31 | + |
| 32 | +# Workflow jobs: |
| 33 | +jobs: |
| 34 | + |
| 35 | + # Define a job for creating a weekly standup... |
| 36 | + weekly_standup: |
| 37 | + |
| 38 | + # Define a display name: |
| 39 | + name: 'Weekly Standup' |
| 40 | + |
| 41 | + # Define the type of virtual host machine on which to run the job: |
| 42 | + runs-on: ubuntu-latest |
| 43 | + |
| 44 | + # Define the sequence of job steps... |
| 45 | + steps: |
| 46 | + # Get the current date: |
| 47 | + - name: "Resolve current date" |
| 48 | + id: date |
| 49 | + run: | |
| 50 | + echo "current_date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT |
| 51 | +
|
| 52 | + # Checkout the repository: |
| 53 | + - name: 'Checkout repository' |
| 54 | + |
| 55 | + # Version 4.0 |
| 56 | + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac |
| 57 | + timeout-minutes: 10 |
| 58 | + |
| 59 | + # Create an issue: |
| 60 | + - name: 'Create issue' |
| 61 | + |
| 62 | + # Version 4.0.1 |
| 63 | + uses: peter-evans/create-issue-from-file@d60bea1e77c1b5c523216f7c31493883d76ffad7 |
| 64 | + with: |
| 65 | + title: Weekly Standup (${{ steps.date.outputs.current_date}}) |
| 66 | + content-filepath: ./.github/ISSUE_TEMPLATE/weekly_standup.md |
| 67 | + labels: | |
| 68 | + weekly standup |
| 69 | + assignees: | |
| 70 | + kgryte |
| 71 | + aayush0325 |
| 72 | + headlessNode |
| 73 | + anandkaranubc |
| 74 | + ShabiShett07 |
| 75 | + gururaj1512 |
0 commit comments