Skip to content

Commit

Permalink
Merge pull request #79 from Stumeet/dev
Browse files Browse the repository at this point in the history
🔨 [STMT-6] fork repository를 위한 CI workflow 구축 - 에러 해결
  • Loading branch information
05AM authored Mar 5, 2024
2 parents ff4a379 + 1ae731c commit 38086bf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI trigger

on:
pull_request:
branches: [ dev, main ]
push:
branches: [ dev, main ]

jobs:
run-CI-workflow:
runs-on: ubuntu-latest
name: run CI workflow
steps:
- name: run
run: echo "this is a dummy workflow that triggers a workflow_run; it's necessary because otherwise the repo secrets will not be in scope for externally forked pull requests"
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: CI triggered by PR
name: CI triggered by CI trigger

on:
pull_request:
branches:
- dev
- main
workflow_run:
workflows: [CI trigger]
types: [completed]

jobs:
ci:
Expand Down

0 comments on commit 38086bf

Please sign in to comment.