Commit graph

32 commits

Author SHA1 Message Date
Marc Cornellà
408330e131
ci: remove redundant macos runner for CI tests
Currently the macOS runner is not needed, as we are only checking
zsh syntax. We can reactivate it in the future if needed.
2023-10-11 20:44:46 +02:00
Marc Cornellà
cdd7dab5db
ci(installer): remove vc link which generates the wrong project
`vc link` is not needed, as we already have `VERCEL_PROJECT_ID`
defined as an env variable. Currently the `vc link` only creates
a second empty project with the name `installer` as seen in logs:

  Linked to ohmyzsh/installer (created .vercel and added it to .gitignore)
  Vercel CLI 32.2.4
2023-09-17 16:20:46 +02:00
Carlo Sala
6101106916
feat(install): deploy installer to install.ohmyz.sh (#11722)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2023-06-02 21:37:48 +02:00
Carlo Sala
ec0003f2fa
ci: update to checkout@v3 to avoid warnings 2023-01-13 12:40:47 +01:00
Marc Cornellà
1342459b15
ci: fix update of plugin or theme fields
See [1] for the reference of value field (ProjectV2FieldValue type),
and [2] for sample application code.

[1] https://docs.github.com/en/graphql/reference/input-objects#projectv2fieldvalue
[2] https://docs.github.com/en/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions#example-workflow-authenticating-with-a-github-app
2022-11-04 19:16:54 +01:00
Lennart Ochel
239e2f9fcd
ci: migrate to ProjectV2 GraphQL API (#11311) 2022-11-03 18:30:30 +01:00
Alex
065f5ffc5a
ci: harden permissions for GitHub Workflows (#11174)
* build: harden main.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden project.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>

* Update project.yml

The permissions are not necessary, because a separate token is used `GITHUB_TOKEN: ${{ secrets.PROJECT_TOKEN }}`
2022-10-07 14:39:00 +02:00
Marc Cornellà
4d9e5ce9a7
ci(project): sort issues and PRs when reopened 2022-04-04 21:40:08 +02:00
Marc Cornellà
ebfd7cb219
ci: cancel current runs on new trigger 2022-02-21 19:27:21 +01:00
Marc Cornellà
b481955761
ci(project): fix .list files not found error 2022-01-11 23:40:33 +01:00
Marc Cornellà
0ca2e48ee8
ci(project): fix gh pr view call to use ohmyzsh repository 2022-01-10 17:22:31 +01:00
Marc Cornellà
63345c4e5d
ci: disable GitHub Actions on forks 2022-01-03 13:10:53 +01:00
Marc Cornellà
512839ef78
chore: simplify project GitHub Action 2022-01-03 13:08:29 +01:00
Marc Cornellà
9dd1dc49d9
chore: simplify GITHUB_TOKEN env in project GitHub Action 2022-01-03 12:32:37 +01:00
Marc Cornellà
121ee818a5
chore: I'm dumb af 2022-01-02 03:37:16 +01:00
Marc Cornellà
dd7f0f2211
chore: let's try again 2022-01-02 03:32:48 +01:00
Marc Cornellà
17c52ccfc9
chore: look ma no auth! 2022-01-02 03:27:25 +01:00
Marc Cornellà
861e7e24a3
chore: please work 2022-01-02 03:19:46 +01:00
Marc Cornellà
1d35b30461
chore: fix auth in Project tracking Action 2022-01-02 03:17:40 +01:00
Marc Cornellà
95a66532d1
chore: use GITHUB_TOKEN auth for Project Beta GitHub Action 2022-01-02 03:09:52 +01:00
Marc Cornellà
d1c07f9569
chore: add Projects Beta GitHub Action 2022-01-02 02:30:00 +01:00
Marc Cornellà
90e53bcc6a
ci(spelling): turn off check-spelling action temporarily 2021-12-07 19:37:28 +01:00
Josh Soref
44d8edea05
ci(spelling): automatically accept aliased commands (#10475)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-12-07 18:09:34 +01:00
Josh Soref
841f3cb0bb
ci: add check-spelling action (#10470)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-12-02 12:17:00 +01:00
Marc Cornellà
e253661a9b
Revert "ci: add check-spelling GitHub Action"
This reverts commit aef393bdce.
2021-12-01 12:25:58 +01:00
Marc Cornellà
aef393bdce
ci: add check-spelling GitHub Action 2021-12-01 12:20:46 +01:00
Marc Cornellà
df56d1ee1f Rename GitHub Action to CI 2020-02-04 13:02:20 +01:00
Modded Gamers
64a7f6b388
Create Github Action to run tests (#8569)
The published workflow tests the installer and checks the syntax of known zsh files
in the project.

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-01-29 00:22:27 +01:00
Marc Cornellà
a4f6a9964c meta: remove PR triage GitHub action 😢
We do this because the GitHub Actions behavior was changed recently
so as to not pass secrets to action runs started from forks, therefore
the API token passed cannot be used to change PR labels.

There may be an alternative in the future.
2019-09-03 21:19:38 +02:00
Marc Cornellà
c4c620adcd
meta: add DEBUG_ACTIONS flag to PR triage action 2019-08-18 15:13:46 +02:00
Marc Cornellà
4974143745
meta: move if condition on workflow to steps
Provisional measure due to "Unexpected value 'if'" error. See https://github.community/t5/GitHub-API-Development-and/jobs-lt-job-id-gt-if-not-working/m-p/28980
2019-08-13 15:10:15 +02:00
Marc Cornellà
d8ad4e902c meta: convert workflow file to GitHub Actions v2 yml syntax 2019-08-13 14:15:14 +02:00