Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/flow-api-client-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ jobs:
permissions:
contents: write
steps:
- name: Test DEVOPS_BOT_GITHUB_TOKEN can post PR comments (temporary)
shell: bash
env:
#GITHUB_TOKEN: ${{ secrets.DEVOPS_BOT_GITHUB_TOKEN }}
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
gh pr comment https://github.com/PeerDB-io/peerdb/pull/4560 --body "test message"

- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

- name: Fetch flow-api-client branch and existing tags
Expand Down Expand Up @@ -75,6 +84,7 @@ jobs:
- name: Create and push tag
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.DEVOPS_BOT_GITHUB_TOKEN }}
INPUT_VERSION: ${{ inputs.version }}
RESOLVED_VERSION: ${{ steps.resolve.outputs.version }}
run: |
Expand All @@ -94,8 +104,8 @@ jobs:
exit 1
fi

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "DevOps Bot"
git config --global user.email "peerdb-oss-devops-bot@clickhouse.com"

target="$(git rev-parse refs/remotes/origin/flow-api-client)"
echo "Tagging flow-api-client tip ${target} as ${tag}"
Expand Down
Loading