Tapp/tapplet example #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Pull Request | |
on: | |
workflow_dispatch: | |
inputs: | |
package-name: | |
description: "Tapplet package name" | |
required: false | |
default: "tapplet-example" | |
package-url: | |
description: "Tapplet package https url" | |
required: true | |
manifest-version: | |
description: version | |
default: "1.0.0" | |
required: false | |
dir: | |
description: "Optional subfolder directory to save the json file. | src/ " | |
required: false | |
pull_request: | |
branches: | |
- develop | |
push: | |
branches: | |
- develop | |
permissions: | |
contents: write | |
jobs: | |
create-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Register tapplet | |
uses: karczuRF/ga-test@main | |
with: | |
package-name: tapp-example | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# TODO | |
# - name: Commit manifest | |
# id: push-commit | |
# run: | | |
# git config user.name "karczuRF" | |
# git config user.email "${{ secrets.EMAIL }}" | |
# git add -A | |
# git commit -m "Register tapplet" | |
# git push --set-upstream --force origin feat/tapp-example | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# EMAIL: ${{ secrets.EMAIL }} |