Improve ability to run under non-root user; revoke unneeded capabilities; run under 'sssd' starting F41 by default. #904
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] | |
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' |