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
4ea6f1cbfc
[server] Fix lint failures on CI
2024-08-14 11:30:32 +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
b15901df67
[workflows] Prevent duplicate runs of lint workflows after merging a PR
2024-03-12 14:14:18 +05:30
Manav Rathi
9127d9540c
Handle subdir
2024-03-05 16:49:45 +05:30
Manav Rathi
0b37f74636
Add museum lint action
2024-03-05 16:33:20 +05:30