Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions .github/workflows/example-consumer.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Example: how a repo would use the published action.
# Copy this to your repo as .github/workflows/cef-pr-tracker.yaml
# Copy this to your repo as .github/workflows/cef-github-tracker.yaml
# and set repository secrets: WALLET_URI, NOTION_API_KEY.
#
# If the action lives in the same org (cef-ai/cef-pr-tracker-action):
# uses: cef-ai/cef-pr-tracker-action@v1
# If the action lives in the same org (cef-ai/cef-github-tracker-action):
# uses: cef-ai/cef-github-tracker-action@v1
# If you fork or use a different org, change the path and tag.

name: CEF PR Tracker
name: CEF GitHub Tracker

on:
pull_request:
types: [opened, closed, reopened, synchronize]
types: [opened, closed, reopened]
pull_request_review:
types: [submitted]
push:
Expand All @@ -20,7 +20,7 @@ jobs:
send:
runs-on: ubuntu-latest
steps:
- uses: cef-ai/cef-pr-tracker-action@v1
- uses: cef-ai/cef-github-tracker-action@v1
with:
wallet_uri: ${{ secrets.WALLET_URI }}
notion_api_key: ${{ secrets.NOTION_API_KEY }}
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# CEF PR Tracker Action
# CEF GitHub Tracker Action

Reusable GitHub Action that sends PR, review, and push events to the [CEF Project Tazz](https://github.com/cef-ai/Project-Tazz-Execution-Log-Tracker) execution log tracker. One workflow file in any repo, no copy-paste of payload logic.

## Usage

Create `.github/workflows/cef-pr-tracker.yaml` in your repo:
Create `.github/workflows/cef-github-tracker.yaml` in your repo:

```yaml
name: CEF PR Tracker
name: CEF GitHub Tracker

on:
pull_request:
types: [opened, closed, reopened, synchronize]
types: [opened, closed, reopened]
pull_request_review:
types: [submitted]
push:
Expand All @@ -21,7 +21,7 @@ jobs:
send:
runs-on: ubuntu-latest
steps:
- uses: cef-ai/cef-pr-tracker-action@v1
- uses: cef-ai/cef-github-tracker-action@v1
with:
wallet_uri: ${{ secrets.WALLET_URI }}
notion_api_key: ${{ secrets.NOTION_API_KEY }}
Expand Down Expand Up @@ -61,13 +61,13 @@ jobs:
Use a tag (e.g. `@v1`, `@v1.0.1`) instead of `@main` so updates are intentional:

```yaml
- uses: cef-ai/cef-pr-tracker-action@v1
- uses: cef-ai/cef-github-tracker-action@v1
```

## Turning this into a repo

1. Create a new repo (e.g. `cef-ai/cef-pr-tracker-action`).
1. Create a new repo (e.g. `cef-ai/cef-github-tracker-action`).
2. Copy the contents of this folder (at least `action.yml` and this README) into the repo root.
3. Commit, push, and create a tag (e.g. `v1`) so others can use `@v1`.
4. In consuming repos, use `uses: cef-ai/cef-pr-tracker-action@v1` (replace with your org/repo and tag).
# cef-pr-tracker-action
4. In consuming repos, use `uses: cef-ai/cef-github-tracker-action@v1` (replace with your org/repo and tag).
# cef-github-tracker-action
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'CEF GitHub Tracker'
description: 'Send PR, review, and push events to CEF execution log tracker (Project Tazz)'
description: 'Send GitHub events (PRs, reviews, pushes) to CEF execution log tracker (Project Tazz)'
inputs:
wallet_uri:
required: true
Expand Down
Loading