Skip to content

Create trigger_utils_tests #163

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/trigger_utils_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Trigger AstroDB Utils Tests

on:
push:
branches:
- main # or whichever branches you want to monitor

jobs:
trigger_repo1:
runs-on: ubuntu-latest
steps:
- name: Trigger AstroDB Utils Tests workflow
uses: peter-evans/repository-dispatch@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why peter-evans? Is there no official github action we can use?

with:
token: ${{ secrets.UTILS_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a token in this repo (template)....maybe the token needs to be in astrodb_utils?

repository: astrodbtoolkit/astrodb_utils
event-type: run-tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does "run-tests" refer to? How does this action know what to run? I would have thought it would need the action name?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.