50 Commits
Author SHA1 Message Date
Christophe CoevoetandGitHub 6962ab5504 Enable unsafe PR checkout in workflow (#1551)
Our recipes checker workflow is not running code from the checkout out codebase (it runs the recipes-checker tool fetched separately) so allowing the checkout is OK.
2026-07-27 14:45:01 +02:00
Fabien Potencier 5dc43f1928 [ci] Fix BOT_TOKEN auth for the Flex endpoint update push 2026-05-29 23:17:31 +02:00
Nicolas GrekasandClaude Opus 4.8 bbc7cc6f7f [ci] Fix BOT_TOKEN auth for Flex endpoint push and PR diff comment
The previous attempt still failed:

- The Flex push embedded the token in the URL, but actions/checkout had
  persisted an http.<host>.extraheader Authorization for the default
  GITHUB_TOKEN, which git sends in preference to the URL credentials —
  so the push authenticated as github-actions[bot] and got 403. Unset
  that header before pushing so the BOT_TOKEN in the URL is used.

- marocchino/sticky-pull-request-comment reads the token from its
  GITHUB_TOKEN input (default github.token), not the env var, so the
  read-only default token was still used. Pass it via "with:" instead.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 18:22:54 +02:00
Nicolas GrekasandClaude Opus 4.8 dccaac6cda [ci] Use BOT_TOKEN for the Flex endpoint push and PR diff comment
The default GITHUB_TOKEN is now read-only, so pushing the generated Flex
endpoint and posting the recipe-diff comment failed (403 / "Resource not
accessible by integration"). Authenticate both via the BOT_TOKEN without
persisting it into the checkout credentials.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 18:09:44 +02:00
Nicolas Grekas c159bdef60 Ensure directory is clean before fetching tool when running callable-qa 2026-04-24 10:37:56 +02:00
Jan RosierandGitHub cda6fef256 Run updated recipes also on PHP v8.4 (#1479) 2026-03-31 14:57:11 +02:00
Jan RosierandGitHub 8fd491704b Run updated recipes also on Symfony v8 (#1481) 2026-03-31 13:49:39 +02:00
Jan Rosier 6ade2c16da Run updated recipes on maintained Symfony versions 2025-05-27 17:33:24 +02:00
Oskar Stark f70b5bbfad ci(GHA): use actions/checkout@v4 2025-03-22 20:30:18 +01:00
Illia Antypenko c99f98ca93 Update "runs-on" to use ubuntu-latest instead of deprecated 20.04 2025-03-06 12:43:25 +01:00
Christophe CoevoetandGitHub 1e407c7c92 Update the callable-qa workflow to avoid GHA deprecations 2025-02-26 10:20:02 +01:00
Fabien Potencier 6bd197c545 Bump Github action versions 2022-12-08 08:28:57 +01:00
Nicolas Grekas 7ba147b590 Fix usage of secrets in callable-qa workflow 2022-06-10 15:05:13 +02:00
Nicolas Grekas 58cc443bd3 Require a personal access token to merge 2022-06-06 11:42:00 +02:00
Nicolas Grekas 3c9d3a040c [gha] Merge recipe-readme-update into flex-update 2022-05-02 14:39:04 +02:00
Nicolas Grekas ba8b92ad7f Cleanup gha config 2022-05-02 09:34:05 +02:00
Ryan Weaver edfd6a72c4 Switching recipes readme to be on flex-main branch 2022-05-01 19:36:02 -04:00
Ryan WeaverandNicolas Grekas 8a60492811 adding workflow for updating RECIPES.md 2022-04-30 11:13:17 -07:00
Nicolas Grekas 54cc921d06 Rename branch to "main" 2022-04-30 10:59:29 -07:00
Nicolas Grekas 6e042060e2 Merge branch 'main'
* main:
  Adding a new callable recipes readme GH action
  Always run "Setup PHP" steps
  Clean CI config
  Enable Automerge
  Specify license for recipes-checker-main lint:pull-request
  Test recipes on Symfony 5&6
  Fix escaping args in commands
  Fix linting JSON files
  Hit raw.githubusercontent.com to work around rate limiting
  Add callable action to repopulate the recipe archives
  Copying the "archived/" directory from recipes-checker
  Add reusable workflows
2022-04-30 10:47:26 -07:00
Ryan WeaverandNicolas Grekas 844d33f786 Adding a new callable recipes readme GH action 2022-04-30 10:39:03 -07:00
Oskar StarkandGitHub 06ed1029b3 Fix: Typo 2022-04-22 21:34:33 +02:00
Nicolas Grekas e4e77c5dec Always run "Setup PHP" steps 2022-02-19 11:43:56 +01:00
Nicolas Grekas 07cc58ffd1 Clean CI config 2022-02-19 11:42:24 +01:00
Nicolas Grekas f2349cee18 Enable Automerge 2022-02-15 16:47:48 +01:00
Ilya AntipenkoandNicolas Grekas ce4b08db38 Specify license for recipes-checker-main lint:pull-request 2022-02-15 11:38:46 +01:00
Nicolas Grekas 72b3ddae9d Test recipes on Symfony 5&6 2022-02-15 11:18:50 +01:00
Nicolas Grekas 7a02acd12d Fix escaping args in commands 2022-02-14 13:30:02 +01:00
Nicolas Grekas a24eb2a5cb Fix linting JSON files 2022-02-13 14:56:57 +01:00
Nicolas Grekas 8130145858 Hit raw.githubusercontent.com to work around rate limiting 2021-12-18 11:08:07 +01:00
Ryan WeaverandNicolas Grekas 3da880ce71 Adding manual action for flex-update-archived 2021-12-17 18:42:36 +01:00
Ryan WeaverandGitHub 93265b3b7e Add callable action to repopulate the recipe archives 2021-12-17 18:35:43 +01:00
Ryan WeaverandGitHub 2120e69b2e Copying the "archived/" directory from recipes-checker 2021-12-17 15:35:46 +01:00
Nicolas Grekas 4e61b7c160 Use reusable workflows 2021-10-18 16:29:49 +02:00
Nicolas Grekas 0de5a7de3a Add reusable workflows 2021-10-18 16:28:14 +02:00
Nicolas Grekas cd0aced364 Read versions.json from local directory 2021-10-15 16:18:57 +02:00
Nicolas Grekas 57f9204895 [GHA] Relax create-project job 2021-09-29 11:40:48 +02:00
Nicolas Grekas 425177e4f0 [GHA] Merge create-project into qa 2021-09-23 12:17:33 +02:00
Nicolas Grekas 84a7aa398c Fix flex endpoint 2021-09-23 09:29:49 +02:00
Nicolas Grekas e043a09f07 Improve layout of Flex endpoint 2021-09-19 17:38:37 +02:00
Nicolas Grekas 4b3c1efdbf Generate Flex endpoint 2021-09-16 18:12:10 +02:00
Nicolas Grekas 2d38efaad1 Set min-stab to dev in create-project job 2021-07-10 13:39:30 +02:00
Nicolas Grekas 2c05699b12 Enable color in gha 2021-07-10 08:45:53 +02:00
Nicolas Grekas 747ef9ffc7 Fix SYMFONY_ENDPOINT 2021-07-10 08:31:20 +02:00
Nicolas Grekas 2cde446350 Move create-project from travis to gha 2021-07-10 08:26:24 +02:00
Nicolas Grekas de32a6e069 Checkout PR, not target 2021-07-09 15:01:02 +02:00
Nicolas Grekas c32fc5a58f cs fix 2021-07-09 14:20:18 +02:00
Nicolas Grekas d2b4cc77e6 Compute diff between recipe versions 2021-07-09 14:10:12 +02:00
Nicolas Grekas 0ffdf8ce1d Move checks to GHA 2021-07-09 11:23:49 +02:00
Nicolas Grekas b570ddec67 Add check to reject symlinks 2021-07-07 16:11:46 +02:00