From c40d5b5be382c39dbc37789d2c2ba75c1aca72f2 Mon Sep 17 00:00:00 2001 From: Yogesh Choudhary Paliyal Date: Sat, 5 Apr 2025 18:36:09 +0530 Subject: [PATCH] Update post to bluesky action (#1133) * Update README.md (#1131) * Update postBlueSky.yml * Revert "Update README.md (#1131)" (#1132) This reverts commit e97091d0929af9c1036fa24e4d631c7f021e2f0d. --- .github/workflows/postBlueSky.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/postBlueSky.yml b/.github/workflows/postBlueSky.yml index 67704736..89021bbd 100644 --- a/.github/workflows/postBlueSky.yml +++ b/.github/workflows/postBlueSky.yml @@ -31,14 +31,11 @@ jobs: runs-on: ubuntu-latest steps: - # # Add this step before the 'Post Merged PR to BlueSky' step - # - name: Debug Secret Availability - # run: | - # echo "BSKY_IDENTIFIER is set: ${{ BSKY_IDENTIFIER != '' }}" - # echo "BSKY_PASSWORD is set: ${{ BSKY_PASSWORD != '' }}" - # env: - # BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }} - # BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }} + # Add this step before the 'Post Merged PR to BlueSky' step + - name: Debug Secret Availability + run: | + echo "BSKY_IDENTIFIER is set: ${{ secrets.BSKY_IDENTIFIER != '' }}" + echo "BSKY_PASSWORD is set: ${{ secrets.BSKY_PASSWORD != '' }}" - name: Post Merged PR to BlueSky uses: myConsciousness/bluesky-post@v5 @@ -47,8 +44,8 @@ jobs: text: ${{ format('{0} by {1}', github.event.pull_request.title, github.event.pull_request.user.login) }} # Use the PR's HTML URL for the link preview link-preview-url: ${{ github.event.pull_request.html_url }} # Use html_url, it's more standard - identifier: $BSKY_IDENTIFIER - password: $BSKY_PASSWORD + identifier: ${{ secrets.BSKY_IDENTIFIER }} + password: ${{ secrets.BSKY_PASSWORD }} env: BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }} BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }} @@ -59,6 +56,13 @@ jobs: if: github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: + + # Add this step before the 'Post Merged PR to BlueSky' step + - name: Debug Secret Availability + run: | + echo "BSKY_IDENTIFIER is set: ${{ secrets.BSKY_IDENTIFIER != '' }}" + echo "BSKY_PASSWORD is set: ${{ secrets.BSKY_PASSWORD != '' }}" + - name: Post Manually to BlueSky uses: myConsciousness/bluesky-post@v5 with: