docker-action-pr-giphy-comment action in the solar-system project to automatically post a GIF response on pull requests.

1. Switch to the Target Repository
Open the solar-system repository where you want to integrate the custom action.
2. Store Your Giphy API Key
To fetch GIFs, the action requires a Giphy API key stored as a secret.- Navigate to Settings → Secrets and variables → Actions.
- Click New repository secret.
- Name it
GIPHY_API_KEYand paste your API key.


Never expose your API keys in code or logs. Repository secrets are encrypted and only available to workflows.
3. Create a Pull Request Workflow
Under.github/workflows/, add a new file named pr-thank-you-workflow.yml:
Replace
sidd-harth-7/docker-action-pr-giphy-comment@main with your own owner/repo@branch reference.Job Configuration
| Setting | Value |
|---|---|
| runs-on | ubuntu-latest |
| permissions | issues: write, pull-requests: write |

4. Monitor the Workflow Execution
Head to the Actions tab to see your workflow run.
Example Build Logs
Docker container actions build an image at runtime:Continuous Docker builds can introduce latency. Consider using a JavaScript action for faster startup.
5. Confirm the GIF Comment
After success, your pull request will display a “Thank you” comment with a GIF: