Skip to content

Commit

Permalink
trigger lit-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
e111077 committed Sep 19, 2023
1 parent fedeab2 commit 2577099
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 1 deletion.
44 changes: 44 additions & 0 deletions .github/workflows/update-docs-on-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Update API Docs

on:
push:
branches: auto-pr-docs-action
workflow_dispatch:
# allows triggering from the gihub UI
jobs:
check-for-doc-changes:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- uses: google/wireit@setup-github-actions-caching/v1

- name: Install Dependencies
run: npm ci

- name: Update Docs
run: npm run update-docs

- name: Check if update-docs produces git diff
id: ifChange
run: git diff --exit-code || echo "::set-output name=changed::yes"

- name: Create PR
if: steps.ifChange.outputs.changed == 'yes'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.LIT_ROBOT_ACCESS_TOKEN }}
commit-message: 'docs: update API docs'
author: lit-robot <[email protected]>
committer: lit-robot <[email protected]>
title: 'docs: update API docs'
body: This PR was auto generated by the update-docs-on-main GitHub action.
reviewers: e111077,asyncliz,AndrewJakubowicz
branch: auto-update-docs
labels: |
Ready for Google
preview-catalog
2 changes: 1 addition & 1 deletion button/internal/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export abstract class Button extends LitElement implements FormSubmitter {
ShadowRootInit = {mode: 'open', delegatesFocus: true};

/**
* Whether or not the button is disabled.
* Whether or not the button is disabled.fff
*/
@property({type: Boolean, reflect: true}) disabled = false;

Expand Down

0 comments on commit 2577099

Please sign in to comment.