Skip to content

Commit

Permalink
Merge pull request #1108 from yast/submit_action
Browse files Browse the repository at this point in the history
Added GitHub Action for submitting the package to OBS Factory
  • Loading branch information
lslezak committed Feb 6, 2024
2 parents 630d3f6 + 3337a60 commit f4c67bb
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/submit.yml
@@ -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 }}

0 comments on commit f4c67bb

Please sign in to comment.