diff --git a/.github/workflows/postBlueSky.yml b/.github/workflows/postBlueSky.yml new file mode 100644 index 000000000..85ccbdbf7 --- /dev/null +++ b/.github/workflows/postBlueSky.yml @@ -0,0 +1,22 @@ +name: Post to BlueSky + +on: + pull_request: + types: + - closed + +jobs: + if_merged: + if: github.event.pull_request.merged == true && github.event.pull_request.user.login != renovate + runs-on: ubuntu-latest + steps: + # - run: | + # echo ${{ github.event.pull_request.title }} \n ${{ github.event.pull_request._links.html.href }} + + - uses: zentered/bluesky-post-action@v0.1.0 + with: + post: ${{ github.event.pull_request.title }} + ${{ github.event.pull_request._links.html.href }} + env: + BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }} + BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}