::error::Input required and not supplied: token

See original GitHub issue

Hello everyone… I’m trying to fetch another public repo and I’ve tried to put the TOKEN as explained… but even if I do, for some odd reason is still TELLING ME that the token is missing??? Sorry but I’m a bit stressed about this 😕 perhaps I’m just being too dumb.

      - name: Checks out flutter
        uses: actions/checkout@v2
        with:
          repository: flutter/flutter
          token: ${{ github.token }}
          ref: refs/heads/master
          path: flutter

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:23
  • Comments:24

github_iconTop GitHub Comments

20reactions
ericsciplecommented, Apr 15, 2021

Fyi @TomasVotruba here is an even shorter workaround 😃 You can use the truthy behavior to fallback the built-in token

token: ${{ secrets.MY_TOKEN || github.token }}
12reactions
felipecrscommented, Mar 10, 2021

I started to have this issue in all the repositories which I set the token manually since yesterday or so. If I retrigger the build manually it works, also works sometimes automatically.

E.g. https://github.com/timonwong/vscode-shellcheck/runs/2077175092

This is not from fork, neither a pull request, so I wonder what’s happening.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Github actions Error: Input required and not supplied: task ...
The problem is in the last step - Deploy Amazon ECS task definition. The problematic part is ${{ steps.task-def.outputs.task-definition ...
Read more >
GH token not supplied - Development Tools - Project Nu
I am using the offical action to add PRs and issues to a project. When it runs I get the following error: Error:...
Read more >
Top 5 @actions/github Code Examples - Snyk
Use Snyk Code to scan source code in minutes - no build needed - and fix issues ... GitHub(inputs.token); // At this point...
Read more >
I tried your steps and getting this error Run amondnet/vercel ...
... throw new Error(`Input required and not supplied: ${name}`); ^ Error: Input required and not supplied: vercel-token at Object.
Read more >
Error: Input required and not supplied: token - Bountysource
Error : Input required and not supplied: token.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found