Run ember-cli-update updates on CI
Supports Renovate, Dependabot, and Greenkeeper
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GitHubToken }}
- uses: actions/[email protected]
- uses: kellyselden/ember-cli-update-action@master
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
fetch-depth: 2
token: ${{ secrets.GitHubToken }}
- uses: actions/[email protected]
- uses: kellyselden/ember-cli-update-action@master
with:
amend: true
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GitHubToken }}
# support `"location": "."` blueprints
# https://github.com/actions/checkout#Fetch-all-tags
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: actions/[email protected]
- uses: kellyselden/ember-cli-update-action@master
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GitHubToken }}
- uses: actions/[email protected]
- uses: kellyselden/ember-cli-update-action@master
with:
install_command: foo bar
autofix_command: npm run lint -- --fix
ignore_to: true
commit_prefix: "chore: "
or without GitHub Actions (Travis CI)
- git checkout $TRAVIS_PULL_REQUEST_SHA
- git checkout -B $TRAVIS_PULL_REQUEST_BRANCH
- git remote set-url origin https://[email protected]/$TRAVIS_PULL_REQUEST_SLUG.git
- >
npx https://github.com/kellyselden/ember-cli-update-action.git#semver:*
--pull-request-url https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
This parses pull request descriptions to find a blueprint match. A dependency update service may push the commit before making the pull request description. For that reason, you may want to put this action after your test job using needs
to give the update service time to update the description.