Skip to content

Commit release pr action #10

Commit release pr action

Commit release pr action #10

name: Commit release pr action
on:
workflow_dispatch:
inputs:
repo_name:
description: |
Specify name of the repository to commit the file to.
required: true
permissions:
contents: write
jobs:
copy_action_file:
runs-on: ubuntu-latest
steps:
- name: Push GHA file to ${{ github.event.inputs.repo_name }}
uses: nkoppel/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.REPO_ADMIN_TOKEN_MH }}
with:
source-files: .github/workflows/ReleasePr.yml .github/workflows/release.yml .github/release-drafter.yml
destination-username: Ordermentum
destination-repository: ${{ github.event.inputs.repo_name }}
destination-branch: develop
destination-directory: .github/workflows
commit-email: ${{ github.actor }}@users.noreply.github.com
commit-username: ${{ github.actor }}
commit-message: "Add release GHAs"