Skip to content

Copy pasted renovate job failed with token access #786

Closed

Description

@vkuehn

Hi,

I first time use renovate bot and have therefore copied this

jobs:
  renovate:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3.5.3
      - name: Self-hosted Renovate
        uses: renovatebot/github-action@v39.0.1
        with:
          token: ${{ secrets.RENOVATE_TOKEN }}

to my https://github.com/vkuehn/renovate-try/blob/main/.github/workflows/renovate.yml

sand the classic RENOVATE_TOKEN exists with full repo rights.

still renovate complains

 Error: 'token' MUST be passed using its input or the 'RENOVATE_TOKEN' environment variable

how to run the most simple renovate bot on github actions ?
with config.js in root ?

Activity

  1. viceice commented on Aug 21, 2023

    @viceice
    Member

    it seems the workflow can't access that secret

  2. vkuehn commented on Aug 22, 2023

    @vkuehn
    Author

    oh thanks, I have used the token wrongly now the access works but of course have some opther beginner pains with renovate bot

  3. locked and limited conversation to collaborators on Aug 22, 2023
  4. converted this issue into a discussion #787 on Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Datasource

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions