Skip to content

Commit

Permalink
fix(workflows): fixed issue on greetings bad substitutions on definin…
Browse files Browse the repository at this point in the history
…g variables
  • Loading branch information
neilime committed Feb 23, 2023
1 parent 0de0a1d commit b17e02b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ jobs:
steps:
- id: set-variables
run: |
echo "issue-message=${$(echo "${{ inputs.issue-message }}"):-"Hi, thank for reporting an issue, we will check it out very soon"}" >> "$GITHUB_OUTPUT"
echo "pr-message=${$(echo "${{ inputs.pr-message }}"):-"Hi, thank you for creating your PR, we will check it out very soon"}" >> "$GITHUB_OUTPUT"
echo "REPO_TOKEN=${$(echo "${{ secrets.github-token }}"):-"${{ secrets.GITHUB_TOKEN}}" >> $GITHUB_ENV
ISSUE_MESSAGE="${{ inputs.issue-message }}"
echo "issue-message=${ISSUE_MESSAGE:-"Hi, thank for reporting an issue, we will check it out very soon"}" >> "$GITHUB_OUTPUT"
PR_MESSAGE="${{ inputs.pr-message }}"
echo "pr-message=${PR_MESSAGE:-"Hi, thank you for creating your PR, we will check it out very soon"}" >> "$GITHUB_OUTPUT"
GITHUB_TOKEN="${{ secrets.github-token }}"
echo "REPO_TOKEN=${GITHUB_TOKEN:-"${{ secrets.GITHUB_TOKEN }}"}" >> "$GITHUB_ENV"
- uses: actions/first-interaction@v1
with:
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Opinionated GitHub actions and workflows for common continuous integration needs

## Actions

#### - [Generate dependabot glob](actions/generate-dependabot-config/README.md)

#### - [Checkout](actions/checkout/README.md)

#### - [Create or update comment](actions/create-or-update-comment/README.md)
Expand Down

0 comments on commit b17e02b

Please sign in to comment.