Update author's agency #5901
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: add federalist preview link to PR | |
on: | |
# Trigger the workflow pull request, | |
# but only for the main branch | |
pull_request: | |
branches: | |
- main | |
types: [opened] | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
name: Add Federalist Preview link | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Comment Pull Request | |
uses: thollander/actions-comment-pull-request@main | |
with: | |
message: ":mag: [__Preview in Federalist__](https://federalist-466b7d92-5da1-4208-974f-d61fd4348571.sites.pages.cloud.gov/preview/gsa/digitalgov.gov/${{ github.head_ref }}/)" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |