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

mtaBuild failed - ERROR could not create the "Makefile_20250202212143.mta"" file: open Makefile_20250202212143.mta: permission denied #243

Open
miyasuta opened this issue Feb 3, 2025 · 0 comments

Comments

@miyasuta
Copy link

miyasuta commented Feb 3, 2025

I have configured my workflow as follows (no configuration file other than this has been provided) :

name: CI

on:
  push:
    branches:
      - main

permissions:
  contents: write

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout code
      uses: actions/checkout@v4

    - name: Build
      uses: SAP/project-piper-action@main
      with:
        step-name: mtaBuild

The workflow failed with the following error:

error mtaBuild - [2025-02-02 21:21:43] ERROR could not create the "Makefile_20250202212143.mta"" file: open Makefile_20250202212143.mta: permission denied

It seems that the error is caused by missing privileges, but I haven't found a way to resolve it.
The code is available here: https://github.com/miyasuta/github-action-piper
Any input would be appreciated!

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

1 participant