Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 16 days 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 (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T17:58:39.000Z (about 2 months ago)
- Last Synced: 2025-01-04T21:24:46.523Z (22 days ago)
- Language: JavaScript
- Homepage:
- Size: 2.46 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ember-cli-update-action
![](https://github.com/kellyselden/ember-cli-update-action/workflows/CI/badge.svg)
![](https://github.com/kellyselden/ember-cli-update-action/workflows/Publish/badge.svg)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.