-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Factory autosubmission GitHub Action
- Loading branch information
Showing
3 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | ||
|
||
name: OBS | ||
|
||
on: | ||
# only when committing to master | ||
push: | ||
branches: master | ||
|
||
# allow running manually from GitHub Web | ||
workflow_dispatch: | ||
|
||
jobs: | ||
submit: | ||
# do not run in forks | ||
if: github.repository_owner == 'yast' | ||
|
||
runs-on: ubuntu-latest | ||
|
||
# the default timeout is 6 hours, do not wait for that long if osc gets stucked | ||
timeout-minutes: 30 | ||
|
||
steps: | ||
- name: Submit the package | ||
# see https://github.com/yast/actions/blob/master/submit/action.yml | ||
uses: yast/actions/submit@master | ||
with: | ||
obs_user: ${{ secrets.OBS_USER }} | ||
obs_password: ${{ secrets.OBS_PASSWORD }} |
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