Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
ci: upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 4, 2023
1 parent 267ac3e commit 3c25f87
Show file tree
Hide file tree
Showing 25 changed files with 16,302 additions and 12,145 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/auto-add-to-project.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: 🤖 Auto move new issues into Triage
on:
issues:
types: [opened]
issues:
types: [opened]

jobs:
automate-project-columns:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
automate-project-columns:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
with:
token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
24 changes: 12 additions & 12 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: 🤖 Auto approve by bot
on: pull_request

jobs:
automated-pull-request:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/auto/approve/[email protected]
if: env.TAIGA_FAMILY_BOT_IS_AUTHOR == 'true'
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }}
automated-pull-request:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/auto/approve/[email protected]
if: env.TAIGA_FAMILY_BOT_IS_AUTHOR == 'true'
with:
token1: ${{ secrets.GITHUB_TOKEN }}
token2: ${{ secrets.TAIGA_FAMILY_APPROVE_BOT_PAT }}
24 changes: 12 additions & 12 deletions .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: 🤖 Auto assign
on:
pull_request:
types: [opened, reopened]
pull_request:
types: [opened, reopened]

jobs:
assign-author:
name: PR author as an assignee
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: toshimaru/[email protected]
if: env.IS_OWNER_MODE == 'true'
with:
repo-token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
assign-author:
name: PR author as an assignee
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: toshimaru/[email protected]
if: env.IS_OWNER_MODE == 'true'
with:
repo-token: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
38 changes: 19 additions & 19 deletions .github/workflows/auto-cleanup-caches.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: 🤖 Auto cleanup caches
on:
push:
branches: [main, 'v[0-9]+.x']
pull_request:
types:
- closed
push:
branches: [main, 'v[0-9]+.x']
pull_request:
types:
- closed

jobs:
cleanup:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/auto/[email protected]
if: github.event_name == 'push'
with:
branch-name: ${{ github.head_ref || github.ref_name }}
- uses: taiga-family/ci/actions/auto/[email protected]
if: github.event_name == 'pull_request'
with:
branch-name: refs/pull/${{ github.event.pull_request.number }}/merge
cleanup:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/auto/[email protected]
if: github.event_name == 'push'
with:
branch-name: ${{ github.head_ref || github.ref_name }}
- uses: taiga-family/ci/actions/auto/[email protected]
if: github.event_name == 'pull_request'
with:
branch-name: refs/pull/${{ github.event.pull_request.number }}/merge
14 changes: 7 additions & 7 deletions .github/workflows/auto-dependency-review.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: 🤖 Auto dependency review
on:
pull_request:
pull_request:
permissions:
contents: read
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/security/[email protected]
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/security/[email protected]
20 changes: 10 additions & 10 deletions .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: 🤖 Auto label
on: pull_request_review

jobs:
label-when-approved:
name: Label when approved
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/auto/[email protected]
with:
approvals: 1
token: ${{ secrets.GITHUB_TOKEN }}
label-when-approved:
name: Label when approved
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/auto/[email protected]
with:
approvals: 1
token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 7 additions & 7 deletions .github/workflows/auto-remove-label.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: 🤖 Auto remove label on closed issue
on:
issues:
types: [closed]
issues:
types: [closed]

jobs:
remove_label:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/auto/[email protected]
remove_label:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/auto/[email protected]
20 changes: 0 additions & 20 deletions .github/workflows/build.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ⚙️ Build

on:
pull_request:
push:
branches: [main]

jobs:
build:
name: libs
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npm run build
- run: npm run lint
- run: npm run prettier -- --check
- run: npm run test
env:
NODE_OPTIONS: --openssl-legacy-provider

concurrency:
group: build-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.angular
dist
**/coverage/**
**/node_modules/**
**/schematics/*/files/**/*
package-lock.json
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

16 changes: 7 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,17 @@ All notable changes to this project will be documented in this file. See [standa

## [1.2.0](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/compare/v1.1.0...v1.2.0) (2021-07-27)


### Bug Fixes

* **directive:** fix for non-string values ([38ac555](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/38ac5555dbadbb1d432840301b7593a72f2c4f52))
- **directive:** fix for non-string values ([38ac555](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/38ac5555dbadbb1d432840301b7593a72f2c4f52))

# 1.1.0 (2019-03-13)


### Features

* **travis:** add build step ([c40aaf9](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/c40aaf9))
* **travis:** add travis integration ([a72102e](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/a72102e))
* **travis:** link MAINTAIN.md inside README.md and add comments to scripts ([74cc813](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/74cc813))
* **travis:** remove old node builds ([367358b](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/367358b))
* **travis:** update license ([b9ea68b](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/b9ea68b))
* **travis:** use spaces not tabs ([d6a9e30](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/d6a9e30))
- **travis:** add build step ([c40aaf9](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/c40aaf9))
- **travis:** add travis integration ([a72102e](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/a72102e))
- **travis:** link MAINTAIN.md inside README.md and add comments to scripts ([74cc813](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/74cc813))
- **travis:** remove old node builds ([367358b](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/367358b))
- **travis:** update license ([b9ea68b](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/b9ea68b))
- **travis:** use spaces not tabs ([d6a9e30](https://github.com/TinkoffCreditSystems/angular-contenteditable-accessor/commit/d6a9e30))
26 changes: 13 additions & 13 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Expand Down
1 change: 1 addition & 0 deletions MAINTAIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ to push new tag to the repository and then do
cd ./dist/angular-contenteditable-accessor
npm publish --access=public
```

to publish new version to `npm`.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Tinkoff ControlValueAccessor for contenteditable elements

[![Build](https://travis-ci.org/TinkoffCreditSystems/angular-contenteditable-accessor.svg?branch=master)](https://travis-ci.org/TinkoffCreditSystems/angular-contenteditable-accessor)
[![Coverage Status](https://coveralls.io/repos/github/TinkoffCreditSystems/angular-contenteditable-accessor/badge.svg?branch=master)](https://coveralls.io/github/TinkoffCreditSystems/angular-contenteditable-accessor?branch=master)
[![npm version](https://img.shields.io/npm/v/@tinkoff/angular-contenteditable-accessor.svg)](https://www.npmjs.com/package/@tinkoff/angular-contenteditable-accessor)
Expand Down
7 changes: 1 addition & 6 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,10 @@
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"tsConfig": "projects/angular-contenteditable-accessor/tsconfig.lib.json",
"project": "projects/angular-contenteditable-accessor/ng-package.json"
},
"configurations": {
"production": {
"optimization": true
}
}
},
"test": {
Expand Down
Loading

0 comments on commit 3c25f87

Please sign in to comment.