Skip to content

Commit

Permalink
remove commits
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuel-quix committed Jun 6, 2024
1 parent ee0a739 commit 8d3039b
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Configure Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
# - name: Configure Git
# run: |
# git config --global user.name 'github-actions[bot]'
# git config --global user.email 'github-actions[bot]@users.noreply.github.com'

- name: Create new branch
run: git checkout -b $BRANCH_NAME
# - name: Create new branch
# run: git checkout -b $BRANCH_NAME

- name: Install Quix CLI
run: curl -fsSL https://github.com/quixio/quix-cli/raw/main/install.sh | bash
Expand All @@ -41,24 +41,25 @@ jobs:
echo "## $(date +"%Y-%m-%d") - $GITHUB_REF_NAME" >> CHANGELOG.md
echo "Release notes for $GITHUB_REF_NAME" >> CHANGELOG.md
echo "Updated CHANGELOG.md with new release $GITHUB_REF_NAME"
# - name: Commit changes
# run: |
# git add .
# git commit -m "Update CHANGELOG and docs for release $GITHUB_REF_NAME"

- name: Commit changes
run: |
git add .
git commit -m "Update CHANGELOG and docs for release $GITHUB_REF_NAME"
- name: Push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git
git push origin $BRANCH_NAME
# - name: Push changes
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git
# git push origin $BRANCH_NAME

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update CHANGELOG and docs for release $GITHUB_REF_NAME
branch: ${{ env.BRANCH_NAME }}
title: "Update CHANGELOG and docs for release $GITHUB_REF_NAME"
base: main # Change the base branch to the appropriate one
body: |
Expand Down

0 comments on commit 8d3039b

Please sign in to comment.