1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/.github/workflows/reset_heroku.yml
renovate[bot] 9cf3ae6aab
chore(deps): update akhileshns/heroku-deploy action to v3.13.15 (#5839)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

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

---

### Release Notes

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

###
[`v3.13.15`](https://togithub.com/AkhileshNS/heroku-deploy/releases/tag/v3.13.15)

[Compare
Source](https://togithub.com/akhileshns/heroku-deploy/compare/v3.13.14...v3.13.15)

Updated node version to "node20" (as "node18" is not supported by GitHub
Actions)

###
[`v3.13.14`](https://togithub.com/AkhileshNS/heroku-deploy/releases/tag/v3.13.14)

[Compare
Source](https://togithub.com/akhileshns/heroku-deploy/compare/v3.12.14...v3.13.14)

Updated node version from 16 to 18 (as 16 is causing problems due to
deprecation)

</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 becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 19:51:41 +00:00

25 lines
588 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
uses: akhileshns/heroku-deploy@v3.13.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