[PR #1783] [MERGED] Created initial workflow for workflow linting #3123

Closed
opened 2025-11-26 23:28:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/1783
Author: @mimartin12
Created: 2/16/2022
Status: Merged
Merged: 2/16/2022
Merged by: @mimartin12

Base: masterHead: workflow-lint


📝 Commits (7)

  • 9b89976 Created initial workflow for lint
  • b972fd8 Fixed workflow paths
  • 76a1d2f Added github token
  • 777eb71 Update action version
  • 00cef9f Added back GH token
  • 04a994c Added path and updated names, leaving on push for testing
  • fd8c657 moved to PR trigger to finalize workflow

📊 Changes

1 file changed (+21 additions, -0 deletions)

View changed files

.github/workflows/workflow-linter.yml (+21 -0)

📄 Description

Type of change

  • Bug fix
  • New feature development
  • Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • Build/deploy pipeline (DevOps)
  • Other

Objective

To automate our linting by using the Bitwarden linter action, so that workflows will be tested for styling and programmatic errors on a pull request.

Code changes

  • .github/workflows/workflow-linter.yml: NEW: A workflow to use the Bitwarden Github workflow linter against any workflows in the .github/workflows/* folder.

Testing

Example: https://github.com/bitwarden/mobile/actions/runs/1854819678

Before you submit

- [ ] I have added unit tests where it makes sense to do so (encouraged but not required)
- [ ] This change requires a documentation update (notify the documentation team)

  • This change has particular deployment requirements (notify the DevOps team)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/1783 **Author:** [@mimartin12](https://github.com/mimartin12) **Created:** 2/16/2022 **Status:** ✅ Merged **Merged:** 2/16/2022 **Merged by:** [@mimartin12](https://github.com/mimartin12) **Base:** `master` ← **Head:** `workflow-lint` --- ### 📝 Commits (7) - [`9b89976`](https://github.com/bitwarden/android/commit/9b89976c95919829b62b458860f4ea55f0e0d324) Created initial workflow for lint - [`b972fd8`](https://github.com/bitwarden/android/commit/b972fd88858f0d635cd3f51c14fcdb0df4269748) Fixed workflow paths - [`76a1d2f`](https://github.com/bitwarden/android/commit/76a1d2fe2f34d322610706170c3fe901a44bb2c3) Added github token - [`777eb71`](https://github.com/bitwarden/android/commit/777eb71c9259b931b64d602b956ba39fd607ce3a) Update action version - [`00cef9f`](https://github.com/bitwarden/android/commit/00cef9f301474c2aaad0b7b692e6aeb3165eeb28) Added back GH token - [`04a994c`](https://github.com/bitwarden/android/commit/04a994c33ac40eccc318437177ff92e38d431943) Added path and updated names, leaving on push for testing - [`fd8c657`](https://github.com/bitwarden/android/commit/fd8c6578604432cd4355db2b379695232bd267d9) moved to PR trigger to finalize workflow ### 📊 Changes **1 file changed** (+21 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/workflow-linter.yml` (+21 -0) </details> ### 📄 Description ## Type of change - [ ] Bug fix - [ ] New feature development - [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc) - [x] Build/deploy pipeline (DevOps) - [ ] Other ## Objective <!--Describe what the purpose of this PR is. For example: what bug you're fixing or what new feature you're adding--> To automate our linting by using the Bitwarden linter action, so that workflows will be tested for styling and programmatic errors on a pull request. ## Code changes <!--Explain the changes you've made to each file or major component. This should help the reviewer understand your changes--> <!--Also refer to any related changes or PRs in other repositories--> * **.github/workflows/workflow-linter.yml:** NEW: A workflow to use the Bitwarden Github workflow linter against any workflows in the `.github/workflows/*` folder. ## Testing Example: https://github.com/bitwarden/mobile/actions/runs/1854819678 ## Before you submit ~~- [ ] I have added **unit tests** where it makes sense to do so (encouraged but not required)~~ ~~- [ ] This change requires a **documentation update** (notify the documentation team)~~ - [X] This change has particular **deployment requirements** (notify the DevOps team) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-26 23:28:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#3123