Skip to content

Commit

Permalink
Project is born 🔥 (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
ubiratansoares authored Nov 4, 2023
1 parent 5854ab7 commit ea489b7
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# http://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space

[*.{sh,bats}]
indent_size = 4

[*.{yml,yaml, json}]
indent_size = 2

[*.{md,mdx}]
trim_trailing_whitespace = false
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
pull_request:
push:
branches:
- main

jobs:
checks:
strategy:
matrix:
os: ['ubuntu-22.04', 'macos-12']

runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/[email protected]

- name: Runs checks
run: echo "Done!"

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_STORE
.idea
.tmp
release-notes.txt
23 changes: 23 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Adapted from https://docs.mergify.com/examples
# Validate your changes with:
# $> curl -F '[email protected]' https://gh.mergify.io/validate/

pull_request_rules:
- name: Automatic merge for Renovate PRs
conditions:
- author~=^renovate\[bot\]$
- check-success=quality-checks
- check-success=checks (ubuntu-22.04)
- check-success=checks (macos-12)
actions:
merge:
method: squash

- name: Be author's friend
conditions:
- author~=ubiratansoares
- check-success=checks (ubuntu-22.04)
- check-success=checks (macos-12)
actions:
merge:
method: squash
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# github-actions

Reusable CI/CD logic targeting pipelines on Github Actions

0 comments on commit ea489b7

Please sign in to comment.