This repository has been archived on 2023-07-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Test-Excersise/.gitea/workflows/change-readme.yml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 4: mapping values are not allowed in this context
tom.coursow f8dc162e51
Build / build (push) Successful in 51s
Build / deploy (push) Successful in 46s
Added second workflow
2023-07-12 16:37:18 +02:00

24 lines
755 B
YAML

name: Change Readme
run-name: Add to Readme if issue opens
on: issues
types: [opened]
jobs:
output-event-details:
runs-on: ubuntu-latest
steps:
- name: Show Event Details
run: echo ${{toJSON(github.event)}}
add-to-readme:
runs-on: ubuntu-latest
needs: output-event-details
steps:
- name: Clone Repo
uses: actions/checkout@v3
- name: Add to Readme
run: echo "This line is here because a new issue opened!\n" >> README.md
- name: Commit change
run: |
git add README.md
git commit -m "Added new line to README because new issue was created"
git push