Hello everyone! I want to create (or overwrite) in remote repo new file in the root folder named
HelloWorld.txt when new issue is created. How to implement it?
# This is a basic workflow to help you get started with Actions name: CI on: issues # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 # Runs a set of commands using the runners shell - name: Run a multi-line script run: | git config --global user.email "AlvinSeville7cf@gmail.com" git config --global user.name "Alvin Seville" echo "Hello world!" > HelloWorld.txt git add HelloWorld.txt && git commit -m "HelloWorld.txt"
I want to see new commit in commit list: