You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey.
I added the greetings.yaml starter workflow in my repository. The workflow looks like this:
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
pr-message: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.'
But everytime it runs, it throws error:
yaml: line 11: did not find expected key
I assume it is not able to find GITHUB_TOKEN. I read this here:
The GITHUB_TOKEN secret is a GitHub App installation token scoped to the repository that contains your workflow. GitHub creates the GITHUB_TOKEN secret for you by default, but you must include it in your workflow file in order for actions to use it. You can use the GITHUB_TOKEN secret to make authenticated GitHub API calls on behalf of an action.
Please help on this
The text was updated successfully, but these errors were encountered:
Thanks @princebansal I think this is a duplicate of the issue that @peaceiris mentioned, so I'm going to close as being a duplicate of that issue. If that's not the case, my apologies. Since there's a dedicated repository for that project, if you could open issues on that repository it would be appreciated.
Hey.
I added the
greetings.yaml
starter workflow in my repository. The workflow looks like this:But everytime it runs, it throws error:
I assume it is not able to find
GITHUB_TOKEN
. I read this here:Please help on this
The text was updated successfully, but these errors were encountered: