hunk.code_window: jobs:
     create-nightly-tag:
       runs-on: ubuntu-latest
       defaults:
         run:
           shell: bash -ileo pipefail {0}
  
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit:     if: github.repository == 'streamlit/streamlit'
  
hunk.file_path: .github/workflows/nightly.yml
hunk.type: add
file: /**
   * Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022)
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *     http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  export enum ScriptRunState {
    NOT_RUNNING = "notRunning",
    RUNNING = "running",
    RERUN_REQUESTED = "rerunRequested", // script *not* running, but user requested it be re-run
    STOP_REQUESTED = "stopRequested", // script *is* running, but user requested it be stopped
    COMPILATION_ERROR = "compilationError", // script failed with a compilation error
  }
  