Compare commits
No commits in common. "b1792809e18f4598284f91cc8247a3c327259829" and "d6682176199ebbe7724cf8bb829637fdd5d9dd06" have entirely different histories.
b1792809e1
...
d668217619
1 changed files with 0 additions and 33 deletions
|
@ -1,33 +0,0 @@
|
||||||
on: [push]
|
|
||||||
jobs:
|
|
||||||
ls:
|
|
||||||
runs-on: docker
|
|
||||||
container:
|
|
||||||
image: git.php.fail/lubiana/container/php:ci
|
|
||||||
steps:
|
|
||||||
- name: Manually checkout
|
|
||||||
env:
|
|
||||||
REPO: '${{ github.repository }}'
|
|
||||||
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
|
||||||
GIT_SERVER: 'git.php.fail'
|
|
||||||
COMPOSER_CACHE_DIR: /opt/hostedtoolcache/.composer/cache/files
|
|
||||||
run: |
|
|
||||||
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git .
|
|
||||||
git fetch
|
|
||||||
git checkout ${{ github.head_ref }}
|
|
||||||
- name: create composer cache dir
|
|
||||||
run: |
|
|
||||||
mkdir -p /opt/hostedtoolcache/.composer/cache/files
|
|
||||||
- run: composer install
|
|
||||||
- run: composer lint
|
|
||||||
- name: GIT commit and push all changed files
|
|
||||||
env:
|
|
||||||
CI_COMMIT_MESSAGE: Continuous Integration Fixes
|
|
||||||
CI_COMMIT_AUTHOR: Continuous Integration
|
|
||||||
run: |
|
|
||||||
if [[ -n "$(git status -s)" ]]; then
|
|
||||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
|
||||||
git config --global user.email "gitbot@users.noreply.php.fail"
|
|
||||||
git commit -am "${{ env.CI_COMMIT_MESSAGE }}"
|
|
||||||
git push
|
|
||||||
fi
|
|
Loading…
Reference in a new issue