Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Guard workflow #58

Merged
merged 5 commits into from
Jun 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/guard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Guard Main Branch

on:
pull_request:
types:
- auto_merge_enabled
branches:
- main
merge_group:
branches:
- main

permissions:
contents: read

jobs:
guardian-jobs:
uses: ec-intl/workflow-templates/.github/workflows/[email protected]
secrets: inherit
4 changes: 3 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -11,7 +11,9 @@ name: Lint Codebase
on:
pull_request:
types: [auto_merge_enabled]
branches: [main]
branches: [staging]
merge_group:
branches: [staging]

jobs:
run-lint:
35 changes: 19 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# dotfiles 🚀

[![Lint Codebase](https://github.com/ec-intl/dotfiles/actions/workflows/linter.yml/badge.svg)](https://github.com/ec-intl/dotfiles/actions/workflows/linter.yml)
[![Guard](https://github.com/ec-intl/dotfiles/actions/workflows/guard.yml/badge.svg)](https://github.com/ec-intl/dotfiles/actions/workflows/guard.yml)

## About

@@ -88,22 +89,24 @@ Here is the dotfiles's directory structure (note that Zsh uses the bash function

### Dotfiles Directory Structure

- src
- bash
- aliases
- functions
- env.env
- zsh
- aliases
- env.env
- bin
- gres: This script replaces a pattern in a file, but does not change the file's contents.
- install
- License
- README.md
- run-linter
- uninstall
- update
```plaintext
|--- src
|--- bash
|--- aliases
|--- functions
|--- env.env
|--- zsh
|--- aliases
|--- env.env
|--- bin
|--- gres: This script replaces a pattern in a file, but does not change the file's contents.
|--- install
|--- License
|--- README.md
|--- run-linter
|--- uninstall
|--- update
```

## Further Information

Loading