Skip to content

Update tokenlist api #545

Update tokenlist api

Update tokenlist api #545

Workflow file for this run

# when there's new push to the production branch
# create a pr from ci/_bump-version to sepolia branch
# with a commit that bumps the version in package.json
name: "Bump Version on sepolia"
on:
push:
branches:
- sepolia
jobs:
bump-version:
if: |
startsWith(github.event.head_commit.message, 'Auto merge') &&
endsWith(github.event.head_commit.message, ' [bot]')
name: "Bump version on production"
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: "Checkout source code"
uses: actions/checkout@v3
with:
ref: sepolia
- name: "cat package.json"
run: cat ./package.json
- name: "Automated Version Bump"
id: version-bump
uses: "phips28/gh-action-bump-version@0a5ec790bacbcce44005b6a806310cfcca5f32a6"
with:
tag-prefix: ""
major-wording: "THIS_STRING_SHOULD_NEVER_BE_MATCHED_AS_WE_ONLY_BUMP_MAJOR_MANUALLY"
minor-wording: "THIS_STRING_SHOULD_NEVER_BE_MATCHED_AS_WE_ONLY_BUMP_MINOR_MANUALLY"
skip-push: "true"
commit-message: "ci: version bump to {{version}} [bot]"
target-branch: "sepolia"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get Version Bump Commit Message
run: echo "::set-output name=title::$(git log --pretty=format:"%s" -1)"
id: get-version-bump-commit-message
- name: Create Pull Request for production
uses: peter-evans/create-pull-request@2b011faafdcbc9ceb11414d64d0573f37c774b04
with:
token: ${{ secrets.WRITE_TOKEN }}
delete-branch: true
branch: ci/_bump-version
title: ${{ steps.get-version-bump-commit-message.outputs.title }}
labels: "bot/bump-version, automerge, automerge-squash"
body: ""