GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - githubocto/flat-demo-SQL-flights: A Flat Data GitHub Action demo repo

This repository was archived by the owner on Aug 6, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

4,851 Commits
4,851 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
query.sql
query.sql
 
 
sql-data.csv
sql-data.csv
 
 

Repository files navigation

Flat Data Demo: SQL Flights Demo

This demo is part of a larger Flat Data project created by GitHub OCTO. Read more about the project here.

What this demo does

This repository uses a Flat Data Action to query a SQL database with flight data and downloads the data as a CSV file every day at 6am UTC. A SQL connection string has to be added to the GitHub repository as a secret.

Inside .github/workflows/flat.yaml:

- name: Fetch data
      uses: githubocto/flat@v3
      with:
        sql_connstring: ${{ secrets.CONNSTRING }} # a SQL database connection string fetched as a GitHub secret
        sql_queryfile: query.sql # a file with the SQL query
        downloaded_filename: sql-data.csv # should be a csv or json

diagram

License

MIT

About

A Flat Data GitHub Action demo repo

octo.github.com/projects/flat-data

Topics

demoflat-data

Resources

Readme
MIT license
Activity
Custom properties

Stars

15 stars

Watchers

0 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.