diff options
| author | William Boman <william@redwill.se> | 2021-11-24 16:13:53 +0100 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-11-24 16:13:53 +0100 |
| commit | ad0676a8fe23fd4b49fa6397c6867de114de0e76 (patch) | |
| tree | 17b698366390ecaa5310a0990232cf233b129855 /.github | |
| parent | README: fix jedi_language_server language (diff) | |
| download | mason-ad0676a8fe23fd4b49fa6397c6867de114de0e76.tar mason-ad0676a8fe23fd4b49fa6397c6867de114de0e76.tar.gz mason-ad0676a8fe23fd4b49fa6397c6867de114de0e76.tar.bz2 mason-ad0676a8fe23fd4b49fa6397c6867de114de0e76.tar.lz mason-ad0676a8fe23fd4b49fa6397c6867de114de0e76.tar.xz mason-ad0676a8fe23fd4b49fa6397c6867de114de0e76.tar.zst mason-ad0676a8fe23fd4b49fa6397c6867de114de0e76.zip | |
actions: automatically assign new issues to triaging project
Also some prettier formatting.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/auto-assign-issues.yml | 19 | ||||
| -rw-r--r-- | .github/workflows/metadata-diff.yml | 16 | ||||
| -rw-r--r-- | .github/workflows/stylua.yml | 10 |
3 files changed, 32 insertions, 13 deletions
diff --git a/.github/workflows/auto-assign-issues.yml b/.github/workflows/auto-assign-issues.yml new file mode 100644 index 00000000..10aa7b58 --- /dev/null +++ b/.github/workflows/auto-assign-issues.yml @@ -0,0 +1,19 @@ +name: Automatically assign issues to Issue Triaging project + +on: + issues: + types: [opened] + +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + +jobs: + assign-issue: + runs-on: ubuntu-latest + name: Assign to Issue Triaging prjoect + steps: + - name: Assign new issues to triaging project + uses: srggrs/assign-one-project-github-action@1.2.1 + if: github.event.action == 'opened' + with: + project: "https://github.com/williamboman/nvim-lsp-installer/projects/1" diff --git a/.github/workflows/metadata-diff.yml b/.github/workflows/metadata-diff.yml index 9be6f3c2..b2b1679a 100644 --- a/.github/workflows/metadata-diff.yml +++ b/.github/workflows/metadata-diff.yml @@ -2,10 +2,10 @@ name: Metadata diff checker on: schedule: - - cron: '0 * * * *' + - cron: "0 * * * *" push: branches: - - 'main' + - "main" pull_request: jobs: @@ -15,15 +15,15 @@ jobs: - uses: actions/checkout@v2 - uses: rhysd/action-setup-vim@v1 with: - neovim: true - version: v0.5.1 + neovim: true + version: v0.5.1 - name: Clone latest lspconfig run: | - mkdir -p ~/.local/share/nvim/site/pack/packer/start - git clone --depth 1 https://github.com/neovim/nvim-lspconfig ~/.local/share/nvim/site/pack/packer/start/nvim-lspconfig + mkdir -p ~/.local/share/nvim/site/pack/packer/start + git clone --depth 1 https://github.com/neovim/nvim-lspconfig ~/.local/share/nvim/site/pack/packer/start/nvim-lspconfig - name: Run autogen_metadata.sh script run: ./scripts/autogen_metadata.sh - name: Ensure there are no diffs run: | - git update-index --refresh - git diff-index --quiet HEAD -- + git update-index --refresh + git diff-index --quiet HEAD -- diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml index 8fb28a28..e28130be 100644 --- a/.github/workflows/stylua.yml +++ b/.github/workflows/stylua.yml @@ -3,7 +3,7 @@ name: Stylua check on: push: branches: - - 'main' + - "main" pull_request: jobs: @@ -14,7 +14,7 @@ jobs: - name: Run Stylua check uses: JohnnyMorganz/stylua-action@1.0.0 with: - # token is needed because the action allegedly downloads binary from github releases - token: ${{ secrets.GITHUB_TOKEN }} - # CLI arguments - args: --check . + # token is needed because the action allegedly downloads binary from github releases + token: ${{ secrets.GITHUB_TOKEN }} + # CLI arguments + args: --check . |
