Skip to content

Commit

Permalink
Added GitHub Action for submitting the agama-auto package (#1257)
Browse files Browse the repository at this point in the history
## Problem

- Implement also the package autosubmission to OBS

## Solution

- Use a similar solution to e.g.
[.github/workflows/obs-staging-rust.yml](https://github.com/openSUSE/agama/blob/master/.github/workflows/obs-staging-rust.yml)
file
  • Loading branch information
lslezak authored May 24, 2024
2 parents 2492b8c + 5430cf9 commit 85978fd
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/obs-staging-autoinstallation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Submit agama-auto

on:
# runs on pushes targeting the default branch
push:
branches:
- master
paths:
# run only when an autoinstallation source is changed
- autoinstallation/**
# except the Markdown documentation, it is not packaged
- "!autoinstallation/README.md"

# allow running manually
workflow_dispatch:

jobs:
update_staging:
uses: ./.github/workflows/obs-staging-shared.yml
# pass all secrets
secrets: inherit
with:
package_name: agama-auto
service_file: autoinstallation/package/_service

0 comments on commit 85978fd

Please sign in to comment.