Skip to content

Commit 2b28099

Browse files
Merge pull request #721 from jbousquin/develop
Batch air format workflow (and applied to existing code base)
2 parents 03c9b6d + 07b4e85 commit 2b28099

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+10693
-3976
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Workflow derived from https://github.com/posit-dev/setup-air/tree/main/examples
2+
name: format-update
3+
4+
on:
5+
# This workflow is run manually from the Actions tab
6+
workflow_dispatch:
7+
8+
jobs:
9+
format-update:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v6
14+
with:
15+
ref: ${{ github.head_ref }}
16+
17+
- name: Install
18+
uses: posit-dev/setup-air@v1
19+
20+
- name: Format
21+
run: air format .
22+
23+
- name: commit updates
24+
uses: EndBug/add-and-commit@v9
25+
with:
26+
author_name: 'github-actions[bot]'
27+
author_email: 'github-actions[bot]@users.noreply.github.com'
28+
message: "air formatting"

0 commit comments

Comments
 (0)