We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f9a42c commit 0b6afb0Copy full SHA for 0b6afb0
.github/workflows/submit.yml
@@ -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