Skip to content

Commit 0b6afb0

Browse files
committed
Added commit to YaST:Head GitHub Action
1 parent 9f9a42c commit 0b6afb0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/submit.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
3+
name: OBS
4+
5+
on:
6+
# only when committing to master
7+
push:
8+
branches: master
9+
10+
# allow running manually from GitHub Web
11+
workflow_dispatch:
12+
13+
jobs:
14+
submit:
15+
# do not run in forks
16+
if: github.repository_owner == 'yast'
17+
18+
runs-on: ubuntu-latest
19+
20+
# the default timeout is 6 hours, do not wait for that long if osc gets stucked
21+
timeout-minutes: 30
22+
23+
steps:
24+
- name: Commit the package
25+
# see https://github.com/yast/actions/blob/master/submit/action.yml
26+
uses: yast/actions/submit@master
27+
with:
28+
obs_user: ${{ secrets.OBS_USER }}
29+
obs_password: ${{ secrets.OBS_PASSWORD }}
30+
task: "osc:commit"

0 commit comments

Comments
 (0)