Bump SixLabors.ImageSharp from 3.1.4 to 3.1.5 in /MiniSpace.Services.MediaFiles/src/MiniSpace.Services.MediaFiles.Application in the nuget group across 1 directory #80
Workflow file for this run
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
name: Vulnerability check and Remove appsettings files | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
remove-appsettings: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Remove appsettings.json files | |
run: | | |
find . -type f -name 'appsettings.json' -delete | |
find . -type f -name 'appsettings.Development.json' -delete | |
find . -type f -name 'appsettings.Docker.json' -delete | |
find . -type f -name 'appsettings.docker.json' -delete | |
find . -type f -name 'appsettings.local.json' -delete | |
- name: Check for changes | |
id: git_status | |
run: | | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "changes=true" >> $GITHUB_ENV | |
else | |
echo "changes=false" >> $GITHUB_ENV | |
fi | |
- name: Commit changes | |
if: env.changes == 'true' | |
run: | | |
git config --global user.name 'github-actions[bot]' | |
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | |
git add . | |
git commit -m "Remove appsettings.json files" | |
git remote set-url origin https://x-access-token:${{ secrets.BOT_TOKEN }}@github.com/${{ github.repository }} | |
git push origin HEAD:${{ github.ref }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} |