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

Action pinned at SHA does not work. #4

Open
FiV0 opened this issue May 3, 2023 · 0 comments
Open

Action pinned at SHA does not work. #4

FiV0 opened this issue May 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@FiV0
Copy link

FiV0 commented May 3, 2023

Expected Behavior

Action should work when pinned to SHA hash.

Current Behavior

Action fails with

Error: File not found: '/home/runner/work/_actions/wow-actions/auto-close-fixed-issues/000037415349b8d6a8d2eb8304cba497d5d55647/dist/index.js'

Also see https://github.com/xtdb/xtdb/actions/runs/4872013283/jobs/8689683120

Possible Solution

Not considered.

Steps To Reproduce

This is what our current action looks like:

name: Auto Close Issues

on:
  pull_request:
    types: [closed]

jobs:
  close:
    runs-on: ubuntu-latest
    permissions:
      issues: write
    steps:
      - uses: wow-actions/auto-close-fixed-issues@000037415349b8d6a8d2eb8304cba497d5d55647
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          # optional comment
          # comment: 'This issue was closed by #{{ pr }}.'
          # default ignore the pr merge to the default branch
          # ignore: true
Error Message & Stack Trace

See above.

Additional Context

Your Environment

Github Actions

@FiV0 FiV0 added the bug Something isn't working label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant