Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Resource not accessible by integration #138

Open
borecz opened this issue Oct 23, 2023 · 3 comments
Open

Error: Resource not accessible by integration #138

borecz opened this issue Oct 23, 2023 · 3 comments

Comments

@borecz
Copy link

borecz commented Oct 23, 2023

I am getting error Error: Resource not accessible by integration when trying to use GH action allure-framework/setup-allurectl@v1

My Github action file looks something like

- name: Set up JDK 1.8
  uses: actions/setup-java@v1
   with:
      java-version: 1.8

- name: install and configure allurectl
  uses: allure-framework/setup-allurectl@v1
  with:
     allure-endpoint: ${{ secrets.ALLURE_ENDPOINT }}
     allure-token: ${{ secrets.ALLURE_TOKEN }}
     allure-project-id: ${{ secrets.ALLURE_PROJECT_ID }}

Error displayed on GH action is

Run allure-framework/setup-allurectl@v***
  with:
    allure-endpoint: https://testing.allure.aws.qameta.in
    allure-token: ***
    allure-project-id: ***
    allurectl-version: latest
    github-token: ***
  env:
    ENVIRONMENT: QA
    QA_URL: ***
    QA_USERNAME: ***
    QA_PASSWORD: ***
    PROD_URL: 
    PROD_USERNAME: 
    PROD_PASSWORD: 
    SLACK_BOT_USER_OAUTH_TOKEN: ***
    ***: true
    ALLURE_ENDPOINT: ***
    ALLURE_TOKEN: ***
    ALLURE_PROJECT_ID: ***
    ALLURE_LAUNCH_NAME: ***
    ALLURE_JOB_RUN_ID: 
    PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
    JAVA_HOME_8.0.39[2](https://github.com/BenefitFlow/Benefit-Flow.E2E/actions/runs/6612749741/job/17959230270#step:11:2)_x64: /opt/hostedtoolcache/jdk/8.0.[3](https://github.com/BenefitFlow/Benefit-Flow.E2E/actions/runs/6612749741/job/17959230270#step:11:3)92/x6[4](https://github.com/BenefitFlow/Benefit-Flow.E2E/actions/runs/6612749741/job/17959230270#step:11:4)
    JAVA_HOME: /opt/hostedtoolcache/jdk/8.0.392/x64
    JAVA_HOME_8_0_392_X64: /opt/hostedtoolcache/jdk/8.0.392/x64
version: 2.***[5](https://github.com/BenefitFlow/Benefit-Flow.E2E/actions/runs/6612749741/job/17959230270#step:11:5).***
platform: linux/amd[6](https://github.com/BenefitFlow/Benefit-Flow.E2E/actions/runs/6612749741/job/17959230270#step:11:6)4
download: https://github.com/allure-framework/allurectl/releases/download/2.***5.***/allurectl_linux_amd64
/opt/hostedtoolcache/allurectl/2.***5.***/amd64/allurectl --version
allurectl version 2.***5.***
Error: Resource not accessible by integration
@CoHuK
Copy link

CoHuK commented Nov 22, 2023

Getting the same error now

@cveal-Momnt
Copy link

getting the same. Can we get movement on this?

@dale-satvu
Copy link

dale-satvu commented May 28, 2024

It's a permissions issue. I fixed this by adding

permissions:
  actions: write
  contents: read

To the job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants