Skip to content

Commit

Permalink
test workflow chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
yomaq committed Feb 7, 2025
1 parent eaa5867 commit d04faed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/MirrorToGitlab.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Mirroring

on: [ push, delete ]
on:
push: []
repository_dispatch:
types: [lock-update]

jobs:
to_gitlab:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/UpdateFlakeLock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:
with:
commit_message: "Update flake.lock"
file_pattern: "flake.lock"
- uses: actions/checkout@v4
- uses: keninkujovic/gitlab-sync@2.0.0
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
gitlab_url: https://gitlab.com/yomaq2/nix-config.git
username: ${{ secrets.USERNAME }}
gitlab_pat: ${{ secrets.GITLAB_PAT }}
event-type: lock-update

0 comments on commit d04faed

Please sign in to comment.