Commit Graph

20 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
70dada90b2 [web][meta] Ignore stale lint runs on PR push
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-using-concurrency-and-the-default-behavior
2024-09-10 13:02:12 +05:30
Manav Rathi
ac5d37a9e3 Not helping, this is just causing it to run twice 2024-08-28 20:38:25 +05:30
Manav Rathi
cfe9178301 Experiment to try and reduce the latency 2024-08-27 20:00:38 +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
b15901df67 [workflows] Prevent duplicate runs of lint workflows after merging a PR 2024-03-12 14:14:18 +05:30
Manav Rathi
0b37f74636 Add museum lint action 2024-03-05 16:33:20 +05:30
Manav Rathi
cbf0223f07 Stop unnecessary lint workflows from running on pushing tags
Ref:
- https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore
- https://stackoverflow.com/questions/77667104/how-to-make-github-action-trigger-on-push-paths-and-push-tags
- https://github.com/orgs/community/discussions/26273
2024-03-05 13:10:03 +05:30
Manav Rathi
eba3d1867e Point our our yarn lock 2024-03-04 16:01:36 +05:30
Manav Rathi
6d96a7c569 Fix the cache param 2024-03-04 15:59:46 +05:30
Manav Rathi
6362cd8bed Fix path 2024-03-04 15:59:08 +05:30
Manav Rathi
a599ddbfc1 Cache 2024-03-04 15:58:16 +05:30
Manav Rathi
4ebbed82d6 Watch for changes in the workflow itself
And also install flutter
2024-03-04 15:20:28 +05:30
Manav Rathi
e3f90a1c4e Set default working directory for all run steps in the job
Ref:
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun
2024-03-04 13:00:12 +05:30
Manav Rathi
c6e1a0f59c Add mobile crowdin action 2024-03-04 11:37:21 +05:30
Manav Rathi
136124c450 WIP Resurrect web related GitHub actions 2024-03-04 11:27:01 +05:30