Skip to content

Commit acb0c9e

Browse files
committed
format yaml
Signed-off-by: Marcos Candeia <marrcooos@gmail.com>
1 parent 95783e0 commit acb0c9e

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
permissions:
16-
contents: read
17-
id-token: write
16+
contents: read
17+
id-token: write
1818

1919
steps:
2020
- uses: actions/checkout@v4

.github/workflows/releaser.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
- main
1010

1111
permissions:
12-
contents: write # Necessary for accessing and modifying repository content
13-
pull-requests: write # Necessary for interacting with pull requests
14-
actions: write # Necessary for triggering other workflows
12+
contents: write # Necessary for accessing and modifying repository content
13+
pull-requests: write # Necessary for interacting with pull requests
14+
actions: write # Necessary for triggering other workflows
1515

1616
jobs:
1717
tag-discussion:
@@ -21,8 +21,8 @@ jobs:
2121
- name: Checkout Code
2222
uses: actions/checkout@v3
2323
with:
24-
ref: ${{ github.event.pull_request.base.ref }} # Checkout the base branch (target repository)
25-
repository: ${{ github.event.pull_request.base.repo.full_name }} # Checkout from the target repo
24+
ref: ${{ github.event.pull_request.base.ref }} # Checkout the base branch (target repository)
25+
repository: ${{ github.event.pull_request.base.repo.full_name }} # Checkout from the target repo
2626

2727
- name: Calculate new versions
2828
id: calculate_versions
@@ -165,15 +165,15 @@ jobs:
165165
git push origin ${{ steps.determine_version.outputs.new_version }}
166166
- name: Trigger Release Workflow
167167
run: |
168-
curl -X POST \
169-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
170-
-H "Accept: application/vnd.github.everest-preview+json" \
171-
https://api.github.com/repos/${{ github.repository }}/actions/workflows/release.yaml/dispatches \
172-
-d '{"ref":"main", "inputs":{"tag_name":"${{ steps.determine_version.outputs.new_version }}"}}'
168+
curl -X POST \
169+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
170+
-H "Accept: application/vnd.github.everest-preview+json" \
171+
https://api.github.com/repos/${{ github.repository }}/actions/workflows/release.yaml/dispatches \
172+
-d '{"ref":"main", "inputs":{"tag_name":"${{ steps.determine_version.outputs.new_version }}"}}'
173173
- name: Trigger Publish Workflow
174174
run: |
175-
curl -X POST \
176-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
177-
-H "Accept: application/vnd.github.everest-preview+json" \
178-
https://api.github.com/repos/${{ github.repository }}/actions/workflows/publish.yaml/dispatches \
179-
-d '{"ref":"main", "inputs":{"tag_name":"${{ steps.determine_version.outputs.new_version }}"}}'
175+
curl -X POST \
176+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
177+
-H "Accept: application/vnd.github.everest-preview+json" \
178+
https://api.github.com/repos/${{ github.repository }}/actions/workflows/publish.yaml/dispatches \
179+
-d '{"ref":"main", "inputs":{"tag_name":"${{ steps.determine_version.outputs.new_version }}"}}'

0 commit comments

Comments
 (0)