Commit Graph

7 Commits

Author SHA1 Message Date
Manav Rathi
51f13191b3 Node 20 => 22 2025-04-09 08:43:52 +05:30
Manav Rathi
0e4fa1ad4c ro 2025-03-28 12:57:41 +05:30
Manav Rathi
8813b0cf1c [meta] Run PRs lint checks for pull requests from external forks
Currently, for PRs opened by external contributors, the various lint checks
don't run (sometimes causing code that fails basic lint checks to be committed
to main).

From my current understanding (I find the docs around this confusing), we need
to instead use the "pull_request" target. Refs:

* https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
* https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/

Note that even then, we will need a manual step to approve running the lints for
first time contributors. Which is fine, at least we'll see the option, unlike
right now where they just can't be run until the code hits main.
2024-08-26 21:50:04 +05:30
Manav Rathi
54c9cdeed8 [web] Switch to (almost) continuous deployments
Every day except Sunday, at 8:00 am, the code on main will be automatically
deployed to production for all web apps (photos, auth, cast, accounts, payments)
2024-05-10 19:43:15 +05:30
Manav Rathi
afa9c35c0b Also ignore deploy-f's 2024-05-08 15:27:59 +05:30
Manav Rathi
fa3f249a7a [meta] Omit unnecessary reruns of workflows when deploying
When we merge main into a deploy/* branch
(e.g. https://github.com/ente-io/ente/pull/1147), all changes get pulled in not
just the one related to that deployment, and this causes almost all of the path
based workflows to run again unnecessarily. Exclude the various "deploy/**"
branches to stop these unnecessary workflows from being triggered.
2024-03-19 12:59:04 +05:30
Manav Rathi
976a76ae23 [docs] Add a workflow to do a preflight verification of build on each PR 2024-03-11 10:59:47 +05:30