Skip to content

ci: add GitHub workflow for testing remote custom actions on PR #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
26 changes: 26 additions & 0 deletions .github/workflows/test-remote-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# .github/workflows/test-remote-actions.yml
name: Test Remote Custom Actions

on:
pull_request:
branches:
- main # 또는 테스트를 원하는 다른 브랜치

jobs:
test_actions:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4 # 현재 저장소(binary01.me-notion-cms)의 코드를 체크아웃합니다.

- name: Run Remote Greet Action
id: greet
uses: 01-binary/github-action-test/actions/[email protected] # 원격 액션 참조
with:
who-to-greet: 'Remote Tester Alice'

- name: Run Remote Goodbye Action
id: goodbye
uses: 01-binary/github-action-test/actions/goodbye-action@main # 원격 액션 참조
with:
who-to-say-goodbye: 'Remote Tester Bob'