Skip to content

Commit

Permalink
fix aft generate command
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle committed Oct 7, 2023
1 parent 20ae00d commit 28efe7e
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,6 @@ ${dependabotGroups.join('\n')}

workflowPaths.sort();

const permissionsBlock = '''
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read''';

final workflowContents = StringBuffer(
'''
# Generated with aft. To update, run: `aft generate workflows`
Expand Down Expand Up @@ -598,3 +592,9 @@ jobs:
workflowFile.writeAsStringSync(content);
}
}

const permissionsBlock = '''
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read''';

0 comments on commit 28efe7e

Please sign in to comment.