Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
Create Trigger Sec Commit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
likhonsible authored Jan 31, 2024
1 parent 9313344 commit e463f20
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/Trigger Sec Commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Trigger Sec Commit

on:
workflow_run:
workflows: ["Sec Commit"]
types:
- completed

jobs:
trigger_commit:
runs-on: ubuntu-latest

steps:
- name: Trigger Sec Commit Workflow
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
"https://api.github.com/repos/your-username/your-repo/actions/workflows/Sec%20Commit/dispatches" \
-d '{"ref":"main"}'

0 comments on commit e463f20

Please sign in to comment.