Skip to content

Create weekly updates reminder #32

Create weekly updates reminder

Create weekly updates reminder #32

name: Create weekly updates reminder
on:
schedule:
- cron: '05 10 * * 0'
jobs:
create_issue:
name: Create weekly updates reminder
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Create weekly updates reminder
run: |
if [[ $CLOSE_PREVIOUS == true ]]; then
previous_issue_number=$(gh issue list \
--label "$LABELS" \
--json number \
--jq '.[0].number')
if [[ -n $previous_issue_number ]]; then
gh issue close "$previous_issue_number"
gh issue unpin "$previous_issue_number"
fi
fi
new_issue_url=$(gh issue create \
--title "$TITLE" \
--assignee "$ASSIGNEES" \
--label "$LABELS" \
--milestone "$MILESTONE" \
--body "$BODY")
if [[ $PINNED == true ]]; then
gh issue pin "$new_issue_url"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
TITLE: Check weekly dependency updates
ASSIGNEES: nicolasomar
MILESTONE: v0.3
LABELS: dependencies
BODY: |
### Objective
Update MyPets's dependencies from last week's new versions.
---
### Description
After getting new knowledge related to ReactiveBulma's maintenance strategy, the following long-term objective is to maintain a healthy project that the community can use; it is necessary to check all dependencies for possible updates, apply them, and ensure functionality has not been affected.
In case of issues after the mentioned updates, it will be necessary to fix those problems before pushing the changes and avoiding affecting the community.
---
### Tasks
- [ ] Run the script for the update and wait until new installed versions. `npm run update`.
- [ ] Check if the linter suit runs without stoppers. `npm run lint`.
- [ ] Check prettier suit runs without stoppers. `npm run prettier`.
- [ ] Check that the test suit runs without stoppers and that its coverage is correct. `npm run test:ci`.
- [ ] Check build process runs without stoppers. `npm run build`.
- [ ] Check that the server instance runs locally without stoppers and maintains the previous features. `npm run start`.
- [ ] Create the branch and PR associated with the abovementioned changes.
- [ ] Wait until PR-related workflows run OK.
PINNED: false
CLOSE_PREVIOUS: false