Skip to content

Commit

Permalink
Update issuesAutomatedTasks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jy95 authored Sep 17, 2024
1 parent a5a3e4a commit c037e1d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/issuesAutomatedTasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ jobs:
# Resize the image and convert to WebP format using npx sharp-cli
sudo npx --yes sharp-cli -i ./image_file -o "$FOLDER_PATH/cover.webp" -f webp resize 250 250 --fit inside
# Change the permissions to make creation of pull request possible
# Check https://github.com/peter-evans/create-pull-request/issues/783
sudo chown -R $USER:$USER .
# Clean up the original file
sudo rm image_file
- name: ✂️ Delete cover
Expand All @@ -135,6 +131,11 @@ jobs:
node automatedTasks.mjs "$OPERATION" "$REQUEST"
- name: 🤖 Update JSON files after this change
run: npm run generate-api-json-files
- name: 🐛 Fix permissionss to make creation of pull request possible
run: |
# Change the permissions to make creation of pull request possible
# Check https://github.com/peter-evans/create-pull-request/issues/783
sudo chown -R $USER:$USER .
- name: 💅 Create Pull Request
id: cpr
uses: peter-evans/[email protected]
Expand Down

0 comments on commit c037e1d

Please sign in to comment.