Skip to content

zentered/bluesky-post-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date
Nov 20, 2023
Feb 18, 2025
Feb 18, 2025
Feb 18, 2025
Feb 18, 2025
Apr 18, 2023
Apr 18, 2023
Apr 18, 2023
Apr 18, 2023
Feb 18, 2025
Nov 20, 2023
Feb 18, 2025
Feb 24, 2025
Feb 18, 2025

Repository files navigation

Bluesky Post Action

robot in the clouds

GitHub Action to post to bsky.app

Table of Contents

Usage

Can be used directly or in combination with another workflow to prepare the post content.

name: Post on Bluesky Social

on:
  workflow_call:
    inputs:
      post:
        type: string
        required: true
    secrets:
      BSKY_IDENTIFIER:
        required: true
      BSKY_PASSWORD:
        required: true

jobs:
  bsky-post:
    runs-on: ubuntu-latest
    steps:
      - uses: zentered/bluesky-post-action@{LATEST_VERSION}
        with:
          post: ${{ inputs.post }}
          service: ${{ inputs.service }}
        env:
          BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
          BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}

Inputs

Name Requirement Default Description
post required null Richtext Content for Bluesky
service optional https://bsky.social at-protocol server

Outputs

screenshot of github comment

Testing

You can test this action locally with act. The Bluesky identifier and passwords need to be stored in a .secrets file, and the post content in a payload.json file.

act -P node:16-buster-slim workflow_dispatch -e payload.json --secret-file .secrets

Contributing

See CONTRIBUTING.

License

See LICENSE.