Skip to content

Commit

Permalink
Merge pull request #1 from chronark/patch-1
Browse files Browse the repository at this point in the history
Add steps for using in a thread
  • Loading branch information
danphilibin authored Oct 23, 2024
2 parents f3dccd8 + 423eccf commit fd4c2a3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/github-pr-alerts-workflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ This workflow expects the following secrets to be set in the repository:
- `CAMPSITE_API_KEY`: The API key for the Campsite API (we suggest creating a dedicated "GitHub" integration for this)
- `CAMPSITE_PR_ALERTS_THREAD_ID`: The ID of the thread in Campsite where the PR alerts should be posted

#### Using a thread

If you’re trying to send a message to a thread, you need to add the integration to the thread first:

1. Open the thread in Campsite
2. Click the ••• menu in the top corner
3. Click “Manage integrations”
4. Add your integration to the thread

### How we use it

We use this workflow internally at Campsite to post messages in a thread whenever a pull request is opened, closed, or merged. We use an API key from a custom "GitHub" integration so messages are posted as if they came from GitHub.
Expand Down

0 comments on commit fd4c2a3

Please sign in to comment.