Skip to content

Commit

Permalink
workflow testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerg-L committed Jun 22, 2024
1 parent 54f27a9 commit 3973a93
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/update_deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
uses: DeterminateSystems/nix-installer-action@v12
- name: setup git
run: |
git config user.email [email protected]
git config user.name "GitHub Actions"
git checkout -b updates-${{ github.run_id }}
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: update
run: |
MESSAGE=""
Expand Down Expand Up @@ -45,14 +44,7 @@ jobs:
git commit -m "CI update $(date -I)" -m "$MESSAGE"
git push -u origin updates-${{ github.run_id }}
git push origin HEAD:${{ github.ref_name }}
PR=$(gh pr create \
--base master \
--body "$MESSAGE" \
--fill \
--title "Auto update $(date -I)")
gh pr merge $PR --squash --delete-branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3973a93

Please sign in to comment.