https://github.com/kellyselden/ember-cli-update-action
Run ember-cli-update updates on CI
https://github.com/kellyselden/ember-cli-update-action
Last synced: 3 months ago
JSON representation
Run ember-cli-update updates on CI
- Host: GitHub
- URL: https://github.com/kellyselden/ember-cli-update-action
- Owner: kellyselden
- License: mit
- Created: 2020-01-19T17:00:18.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-01T12:01:58.000Z (3 months ago)
- Last Synced: 2025-04-01T13:22:31.445Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.76 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ember-cli-update-action

Run [ember-cli-update](https://github.com/ember-cli/ember-cli-update) updates on CI
Supports [Renovate](https://renovatebot.com), [Dependabot](https://dependabot.com), and [Greenkeeper](https://greenkeeper.io)
```yml
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GitHubToken }}
- uses: actions/[email protected]
- uses: kellyselden/ember-cli-update-action@master
``````yml
- 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
``````yml
- 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
``````yml
- 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)
```yml
- 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.