Fix typo in example usage for post_run_hook #763
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
--- | |
# yamllint disable rule:line-length | |
name: OBS Helper | |
on: [pull_request_target] | |
jobs: | |
obs-url: | |
name: Report OBS URL | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: debug | |
run: | | |
env | sort | |
- name: Create Status | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN_FOR_ACTIONS }} | |
run: | | |
gh api \ | |
--method POST \ | |
-H "Accept: application/vnd.github+json" \ | |
-H "X-GitHub-Api-Version: 2022-11-28" \ | |
/repos/os-autoinst/openQA/statuses/${{ github.event.pull_request.head.sha }} \ | |
-f "state=success" -f "target_url=https://build.opensuse.org/project/show/devel:openQA:GitHub:os-autoinst:openQA:PR-${{ github.event.pull_request.number }}" -f "description=Check OBS SCM URL" -f "context=continuous-integration/obs-helper" |