forked from PreMiD/Presences
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
56 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Auto line endings | ||
* text=auto | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
name: QA | ||
|
||
on: | ||
schedule: | ||
- cron: 0 1 * * * | ||
|
||
push: | ||
branches: | ||
- master | ||
jobs: | ||
qa: | ||
name: Quality Assurance | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Project | ||
uses: actions/checkout@v2 | ||
|
@@ -21,9 +20,7 @@ jobs: | |
path: node_modules | ||
key: ${{ runner.os }}-12-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install Deps | ||
run: | | ||
sudo snap install hub --classic | ||
yarn | ||
run: yarn | ||
- name: Compile Script | ||
run: yarn qa:compile | ||
- name: Start QA | ||
|
@@ -32,6 +29,7 @@ jobs: | |
git config --global core.precomposeunicode true | ||
yarn qa | ||
- name: Commit any changes | ||
if: always() | ||
run: | | ||
git add .; | ||
if git diff-index --quiet HEAD --; then | ||
|
@@ -45,9 +43,9 @@ jobs: | |
git config --local user.name "${GITHUB_USER}"; | ||
git checkout -b semid/qa/`date +%F-%H-%M`; | ||
git commit -sam "♻️ Refactoring"; | ||
hub pull-request -p -m "🤖 Daily QA" -m "*beep boop* I've prettified and refactored some Presences, feel free to fix or remove the ones that break."; | ||
hub pull-request -p -m "🤖 Daily QA" -m "*beep boop* I've prettified and refactored some Presences..."; | ||
fi | ||
env: | ||
GITHUB_USER: SeMiD | ||
GITHUB_EMAIL: [email protected] | ||
GITHUB_TOKEN: ${{ secrets.AUTOMERGE }} | ||
GITHUB_TOKEN: ${{ secrets.AUTOMERGE }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters