Skip to content

Commit

Permalink
refactor(): update nodeJS action version to v16
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-schweitzer committed Nov 10, 2022
1 parent 288bb1d commit c314524
Show file tree
Hide file tree
Showing 8 changed files with 1,171 additions and 416 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: ./
if: always()
with:
github-token: ${{ github.token }}
webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
timezone: Australia/Sydney
timezone: Europe/Paris
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.DS_Store
.DS_Store
.idea
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
#### Main Configurations
| Name | Required | Default | Description |
| ------------------- | -------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|---------------------|----------|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `github-token` | `true` | None | This can be set to the following:<br/>- `${{ github.token }}`<br/>- `${{ secrets.GITHUB_TOKEN }}`<br/>- `${{ secrets.CUSTOM_TOKEN }}` |
| `webhook-uri` | `true` | None | The value of `MS_TEAMS_WEBHOOK_URI` |
| `card-layout-start` | `false` | `complete` | Card layout on **_start_** (i.e. `complete`, `cozy`, `compact`) |
Expand All @@ -60,7 +60,7 @@ jobs:
#### Cozy and Complete Layout-specific Configurations

| Name | Required | Default | Description |
| -------------------------- | -------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|----------------------------|----------|------------------------------|-------------------------------------------------------------------------------------------------------------------------|
| `environment` | `false` | None | Name of the environment, e.g. `development`, `production` (won't be included in the card if none) |
| `timezone` | `false` | `"UTC"` | A [valid database timezone name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. `Australia/Sydney` |
| `enable-view-status` | `false` | `true` | Enable an action to view the deployment status |
Expand All @@ -72,7 +72,7 @@ jobs:
#### Complete Layout-specific Configurations

| Name | Required | Default | Description |
| ------------------ | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|--------------------|----------|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
| `custom-facts` | `false` | `null` | YAML-parseable multiline string defining a list of objects with `name` and `value` to display alongside existing facts. Only for `complete` layout. |
| `include-files` | `false` | `true` | Include the list of files when `layout` is set to `complete` |
| `allowed-file-len` | `false` | `7` | Allowed number of changed files to display, when `include-files` is set to `true` |
Expand Down
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Microsoft Teams Deploy Card
author: Project Toko Bifrost
name: Microsoft Teams Notification Card
author: LVMH InnerSource Team (forked from Project Toko Bifrost)
description: Notify your Teams channel with a beautiful, comprehensive deployment card
branding:
icon: bell
Expand Down Expand Up @@ -74,6 +74,6 @@ inputs:
default: 7

runs:
using: node12
using: node16
main: dist/main/index.js
post: dist/post/index.js
2 changes: 1 addition & 1 deletion dist/main/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit c314524

Please sign in to comment.