Catch up with C8S. #1244
Workflow file for this run
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: copr cleanup | |
on: | |
pull_request_target: | |
branches: [master, sssd-2-7, sssd-2-8, sssd-2-9, sssd-2-9-4] | |
types: [closed] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
cancel-in-progress: false | |
jobs: | |
delete: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.action == 'closed' }} | |
steps: | |
- name: Initialize copr actions | |
id: copr | |
uses: next-actions/copr/init@master | |
with: | |
token: ${{ secrets.COPR_SECRETS }} | |
- name: Delete copr project | |
uses: next-actions/copr/delete-project@master | |
with: | |
coprcfg: ${{ steps.copr.outputs.coprcfg }} | |
project: 'pr${{ github.event.pull_request.number }}' | |
account: '@sssd' |