Skip to content

Commit

Permalink
ci: Add workflow to automate releases
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhtt committed Oct 11, 2024
1 parent d30a638 commit e511154
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Trigger release

on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
if: github.repository == 'flathub-infra/flatpak-builder-lint'
steps:
- name: Trigger workflow in org.flatpak.Builder repository
uses: peter-evans/repository-dispatch@v3
with:
repository: flathub/org.flatpak.Builder
event-type: trigger-workflow
client-payload: '{"sha": "${{ github.event.head_commit.id }}"}'
token: ${{ secrets.LINTER_TRIGGER_WORKFLOW_TOKEN }}

- name: Trigger workflow in flathub-infra/flatpak-github-actions
uses: peter-evans/repository-dispatch@v3
with:
repository: flathub-infra/flatpak-github-actions
event-type: trigger-workflow
token: ${{ secrets.LINTER_TRIGGER_WORKFLOW_TOKEN }}

0 comments on commit e511154

Please sign in to comment.