Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ on:
jobs:
version:
runs-on: ubuntu-latest
if: ${{ github.actor != 'botify-app[bot]' }} # prevent infinite loop
if: ${{ github.actor != 'os-botify[bot]' }} # prevent infinite loop
steps:
- name: Generate a GitHub App token
id: generateAppToken
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
with:
app-id: ${{ vars.BOTIFY_APP_CLIENT_ID }}
private-key: ${{ secrets.BOTIFY_APP_PRIVATE_KEY }}
app-id: ${{ vars.OS_BOTIFY_APP_ID }}
private-key: ${{ secrets.OS_BOTIFY_PRIVATE_KEY }}

# This step setups up the git config which is then used later to push the tag.
# Auth for the repo is setup at this step, so we need to pass the bot token
Expand Down Expand Up @@ -75,8 +75,8 @@ jobs:

# Set up git user info so we can push a tag
# botify-app[bot] GitHub App ID can be found here: https://api.github.com/users/botify-app[bot]
git config --global user.name "botify-app[bot]"
git config --global user.email "208549588+botify-app[bot]@users.noreply.github.com"
git config --global user.name "os-botify[bot]"
git config --global user.email "140437396+os-botify[bot]@users.noreply.github.com"

# Fetch the commit that was made via the API
git fetch origin main
Expand Down