Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpunk committed Aug 21, 2024
1 parent d2572ad commit e509703
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# yamllint disable rule:line-length
name: OBS Helper

on: [pull_request, push]

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_SHA \
-f "state=success" -f "target_url=https://build.opensuse.org/project/subprojects/devel:openQA:GitHub:os-autoinst:openQA:${{ github.event.pull_request.number }}" -f "description=Check OBS SCM URL!" -f "context=continuous-integration/obs-helper"

0 comments on commit e509703

Please sign in to comment.