Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Add Automation for Tweets #10

Merged
merged 6 commits into from
Feb 26, 2021
Merged

Add Automation for Tweets #10

merged 6 commits into from
Feb 26, 2021

Conversation

bnb
Copy link
Contributor

@bnb bnb commented Feb 25, 2021

This PR adds automation for tweeting both the build tweet and the hiring tweet. It also adds tooling that can be reused to automatically write other tweets with minimal additional work.

Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

very cool!

Copy link
Member

@joesepi joesepi left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks again!

I paired on this, but next day review: everything checks out. :)

@bnb bnb merged commit 481be9a into main Feb 26, 2021
@bnb bnb deleted the bnb/tweet-automation branch February 26, 2021 17:24
Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

sorry I didn't look for this before

- run: "./scripts/recurring/build.js" # run the build tweet tweet builder
- uses: gr2m/create-or-update-pull-request-action@v1.x # create a PR or update the Action's existing PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

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

note that if you create a pull request using secrets.GITHUB_TOKEN, no other actions will be triggered by the pull_request event. You will have to pass a personal access token instead. I'd reccomend to use a bot account or create one for this purpose only

- run: "./scripts/recurring/hiring.js" # run the hiring tweet tweet builder
- uses: gr2m/create-or-update-pull-request-action@v1.x # create a PR or update the Action's existing PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above: if you create a pull request using secrets.GITHUB_TOKEN, no other actions will be triggered by the pull_request event. You will have to pass a personal access token instead. I'd reccomend to use a bot account or create one for this purpose only

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants