1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-28 00:17:12 +01:00
unleash.unleash/.github/workflows/reset_heroku.yml
renovate[bot] b27675ac22
chore(deps): update akhileshns/heroku-deploy action to v3.14.15 (#9388)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[akhileshns/heroku-deploy](https://redirect.github.com/akhileshns/heroku-deploy)
| action | minor | `v3.13.15` -> `v3.14.15` |

---

### Release Notes

<details>
<summary>akhileshns/heroku-deploy (akhileshns/heroku-deploy)</summary>

###
[`v3.14.15`](https://redirect.github.com/AkhileshNS/heroku-deploy/releases/tag/v3.14.15)

[Compare
Source](https://redirect.github.com/akhileshns/heroku-deploy/compare/v3.13.15...v3.14.15)

- Fix stack issue (courtesy of
[@&#8203;sstepanchuk](https://redirect.github.com/sstepanchuk))
- Add dotenv dependency (courtesy of
[@&#8203;sstepanchuk](https://redirect.github.com/sstepanchuk))
- Update documentation to more precisely mention that the heroku cli
must be installed

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" in timezone Europe/Madrid, Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzYuMiIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 19:05:50 +00:00

29 lines
695 B
YAML

name: Heroku Postgres Reset
on:
workflow_dispatch:
schedule:
# run every day at midnight
- cron: "0 0 * * *"
jobs:
reset-postgres:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Heroku CLI
run: |
curl https://cli-assets.heroku.com/install.sh | sh
- name: Reset Heroku DB
uses: akhileshns/heroku-deploy@v3.14.15
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_email: ${{ secrets.HEROKU_EMAIL }}
justlogin: true
- name: Reset Postgres
run: |
heroku pg:reset DATABASE --app unleash --confirm unleash