Skip to content

Commit

Permalink
chore: update template files
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinJWendt committed Jul 19, 2024
1 parent 6bc1fcb commit b302f65
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/atomicgo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
fi
echo "::endgroup::"
- name: Run custom CI system (bash equivalent of main.go)
- name: Run custom CI system
run: |
echo "::group::Run custom CI system"
echo "::notice::Counting unit tests"
Expand Down Expand Up @@ -172,3 +172,19 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true
tag_name: ${{ env.next_version }}

- name: Tweet release
if: env.release_needed == 'true' && !github.event.repository.private
uses: Eomm/why-don-t-you-tweet@v1
with:
tweet-message:
"New ${{ github.event.repository.name }} release: ${{ env.next_version }} 🚀
Try it out: atomicgo.dev/${{ github.event.repository.name }}
#go #golang #opensource #library #release #atomicgo"
env:
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
2 changes: 1 addition & 1 deletion .github/workflows/tweet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
tweet-message:
"New ${{ github.event.repository.name }} release: ${{ github.event.release.tag_name }}! 🎉
Try it out: ${{ github.event.release.html_url }}
Try it out: atomicgo.dev/${{ github.event.repository.name }}
#go #golang #opensource #library #release #atomicgo"
env:
Expand Down

0 comments on commit b302f65

Please sign in to comment.