Skip to content

chore: caching requests to optmimize load times and avoid rate limits… #85

chore: caching requests to optmimize load times and avoid rate limits…

chore: caching requests to optmimize load times and avoid rate limits… #85

name: empty-commiter
on:
push:
jobs:
commit:
runs-on: ubuntu-latest
env:
COMMIT_AUTHOR: ${{ github.event.head_commit.author.username }}
if: github.repository_owner == 'LazerTechnologies'
steps:
- name: checkout
uses: actions/[email protected]
with:
submodules: recursive
fetch-depth: 0
token: ${{ secrets.PAT }}
- name: script
run: |
echo "COMMIT Author: $COMMIT_AUTHOR"
- name: empty commit
if: env.COMMIT_AUTHOR == 'wilsoncusack' || env.COMMIT_AUTHOR == 'lukasrosario' || env.COMMIT_AUTHOR == 'mdehoog' || env.COMMIT_AUTHOR == 'jessepollak' || env.COMMIT_AUTHOR == 'arpitsrivastava-cb' || env.COMMIT_AUTHOR == 'arpit2438735' || env.COMMIT_AUTHOR == 'anirud-samala'
run: |
git config user.name "Azim Ahmed"
git config user.email "[email protected]"
git commit --allow-empty -m "empty commit"
git push origin "${GITHUB_REF}"
env:
GITHUB_TOKEN: ${{ secrets.PAT }}