Feature Request: API to support Download Terms of Use #8988
This file contains hidden or 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: PR Comment Commands | |
| on: | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| dispatch: | |
| # Avoid being triggered by forks in upstream | |
| if: ${{ github.repository_owner == 'IQSS' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Dispatch | |
| uses: peter-evans/slash-command-dispatch@v4 | |
| with: | |
| # This token belongs to @dataversebot and has sufficient scope. | |
| token: ${{ secrets.GHCR_TOKEN }} | |
| commands: | | |
| push-image | |
| repository: IQSS/dataverse | |
| # Commenter must have at least write permission to repo to trigger dispatch | |
| permission: write |