Skip to content
Snippets Groups Projects
Unverified Commit 93143f20 authored by GianlucaOberreit's avatar GianlucaOberreit Committed by GitHub
Browse files

Update committee_creation.yml

parent 0ee8f262
No related branches found
No related tags found
1 merge request!12Dev
...@@ -21,17 +21,6 @@ jobs: ...@@ -21,17 +21,6 @@ jobs:
sed "s/class example/class $branch_name/g" src/Committees/example.py > "src/Committees/${branch_name}.py" sed "s/class example/class $branch_name/g" src/Committees/example.py > "src/Committees/${branch_name}.py"
shell: bash shell: bash
- name: Commit and Push Changes
run: |
branch_name=${{ github.ref }}
branch_name=${branch_name#refs/heads/committee/}
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git add "./src/committee/${branch_name}.py"
git commit -m "Add ${branch_name}.py"
git push origin $branch_name
shell: bash
- name: Create Committee Team - name: Create Committee Team
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment