Merge pull request #10239 from getndazn/fix/github-workflow-scope

replacing workflow:write scope with workflow, workflow:write is invalid.
This commit is contained in:
Johan Haals
2022-03-18 10:40:03 +01:00
committed by GitHub
3 changed files with 5 additions and 5 deletions
@@ -138,7 +138,7 @@ describe('RepoUrlPicker', () => {
'ui:options': {
requestUserCredentials: {
secretsKey: 'testKey',
additionalScopes: { github: ['workflow:write'] },
additionalScopes: { github: ['workflow'] },
},
},
}}
@@ -164,7 +164,7 @@ describe('RepoUrlPicker', () => {
additionalScope: {
repoWrite: true,
customScopes: {
github: ['workflow:write'],
github: ['workflow'],
},
},
});