Skip to content

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

@miyasuta

Description

@miyasuta

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions