Commit push #3
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: Commit push | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
if: github.event.repository.owner.id == github.event.sender.id | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: write | |
steps: | |
- name: Check Out | |
uses: actions/[email protected] | |
- name: Display Run Parameters | |
run: | | |
rm trigger.txt | |
echo "#!/bin/bash" >> trigger.txt | |
echo "export RANDOM=${RANDOM}" >> trigger.txt | |
echo "::endgroup::" | |
cat trigger.txt | |
- name: Commit & Push changes | |
uses: actions-js/[email protected] | |
with: | |
branch: "superior" | |
github_token: ${{ secrets.GH_TOKEN }} | |
author_email: '[email protected]' | |
author_name: 'Ij-Israfil' | |
message: 'Builder: Trigger Build' | |