Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Error: Resource not accessible by integration #222

Closed
2 of 3 tasks
MTRNord opened this issue May 19, 2022 · 1 comment
Closed
2 of 3 tasks

Error: Resource not accessible by integration #222

MTRNord opened this issue May 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@MTRNord
Copy link

MTRNord commented May 19, 2022

Do the checklist before filing an issue:

Description

The action crashes with Error: Resource not accessible by integration when setting "Workflow permissions" to read only

Workflow code

name: Security audit
on:
  push:
    paths:
      - "**/Cargo.toml"
      - "**/Cargo.lock"
  pull_request:
  workflow_dispatch:
  schedule:
    - cron: "0 0 * * *"
jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: Swatinem/rust-cache@v1
      - uses: actions-rs/audit-check@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

Action output

logs_122.zip

Expected behavior

It should fail. But the Readme should mention which permissions are required and why these are required

Additional context

This is probably just missing documentation :)

@MTRNord MTRNord added the bug Something isn't working label May 19, 2022
@MTRNord
Copy link
Author

MTRNord commented May 19, 2022

Seems like this is actually a dup of #218 Sorry :)

@MTRNord MTRNord closed this as completed May 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant