Check SUSE QA Tools WIP-Limit and set due dates #1604
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: Check SUSE QA Tools WIP-Limit and set due dates | |
# yamllint disable-line rule:truthy | |
on: | |
schedule: | |
- cron: '0 4 * * *' | |
env: | |
redmine_api_key: ${{ secrets.REDMINE_API_KEY }} | |
jobs: | |
check_suse_qe_tools_wip_limit: | |
name: Check SUSE QE Tools WIP-Limit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get install curl jq | |
- name: Check SUSE QE Tools WIP-Limit | |
id: wip-limit | |
run: sh -ex backlog-check-wip-limit | |
- name: Check step status | |
id: step_check | |
if: always() | |
continue-on-error: true | |
run: | | |
. steps.sh ${{github.job}} ${{github.repository}} ${{github.run_id}} | |
env: | |
step_context: ${{ toJson(steps) }} | |
- name: send message | |
if: (success() || failure()) && steps.step_check.outcome == 'failure' | |
continue-on-error: true | |
run: | | |
. chat_notify.sh "matrix.org" "${{steps.step_check.outputs.result}}" \ | |
"${{secrets.MATRIX_ACCESS_TOKEN}}" "${{secrets.MATRIX_ROOM_ID}}" | |
set_suse_qe_tools_due_dates: | |
name: Set SUSE QE Tools due dates | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get install curl jq | |
- name: Set SUSE QE Tools due dates | |
run: sh -ex backlog-set-due-date |