From 4981ee42c53d4076505e3e04bc712ff7ae965f76 Mon Sep 17 00:00:00 2001 From: Tiago Pascoal Date: Fri, 27 Jan 2023 14:49:18 +0000 Subject: [PATCH 1/2] Add information about Actions Permissions --- Readme.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Readme.md b/Readme.md index af4fcdc..7fa2451 100644 --- a/Readme.md +++ b/Readme.md @@ -18,6 +18,17 @@ Complete the following steps: 2. Create the following labels in this new repository, if they are not already present: `jenkins`, `azure-devops`, `circle-ci`, `gitlab`, `travis-ci`, and `actions-importer-running`. 3. Add the repository secrets described below that are relevant to the CI/CD providers being migrated. +### Actions Permissions + +Actions permissions for the created repository, will need one of the following settings: + +- Allow all actions and reusable workflows +- Allow enterprise, and select non-enterprise, actions and reusable workflows + - Allow actions created by GitHub + - Allow actions by Marketplace OR add `ruby/setup-ruby@v1` in Allow specified actions and reusable workflows list. + +See [Managing GitHub Actions permissions for your repository](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#managing-github-actions-permissions-for-your-repository) for more information. + ### All CI/CD providers The following secrets are required: From 554163e338d489264c5794894f453b910de5995a Mon Sep 17 00:00:00 2001 From: Ethan Dennis Date: Wed, 1 Feb 2023 10:29:02 -0800 Subject: [PATCH 2/2] Update Readme.md --- Readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Readme.md b/Readme.md index 7fa2451..80b2ce5 100644 --- a/Readme.md +++ b/Readme.md @@ -18,16 +18,16 @@ Complete the following steps: 2. Create the following labels in this new repository, if they are not already present: `jenkins`, `azure-devops`, `circle-ci`, `gitlab`, `travis-ci`, and `actions-importer-running`. 3. Add the repository secrets described below that are relevant to the CI/CD providers being migrated. -### Actions Permissions +### Repository settings -Actions permissions for the created repository, will need one of the following settings: +The repository that is created from this template must have one of the following settings enabled: -- Allow all actions and reusable workflows -- Allow enterprise, and select non-enterprise, actions and reusable workflows +- Any action or reusable workflow can be used, regardless of who authored it or where it is defined. +- Any action or reusable workflow that matches the specified criteria, plus those defined in a repository within the enterprise, can be used. - Allow actions created by GitHub - - Allow actions by Marketplace OR add `ruby/setup-ruby@v1` in Allow specified actions and reusable workflows list. + - Allow actions by marketplace verified creators or icnlude `ruby/setup-ruby@v1` in the allowed list of actions and reusable workflows. -See [Managing GitHub Actions permissions for your repository](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#managing-github-actions-permissions-for-your-repository) for more information. +See the [documentation](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#managing-github-actions-permissions-for-your-repository) for more information related to these settings. ### All CI/CD providers